Borderou de evaluare (job #747030)

Utilizator avatar Vicentiu12345 Savu vicentiu dorian Vicentiu12345 IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a, seara Status evaluat
Dată 24 nov. 2023 10:21:09 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 20 | fprintf(fout, "%d %d", mmax, r+1); | ~^ ~~~~ | | | | int long long int | %lld main.c:20:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 20 | fprintf(fout, "%d %d", mmax, r+1); | ~^ ~~~ | | | | int long long int | %lld main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d%d", &n, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d%d", &a1, &b1, &c1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 20 | fprintf(fout, "%d %d", mmax, r+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:15: note: 'r' was declared here 7 | long long r, m, mmax=10000000000000000; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 249 kb Incorect 0
3 179 ms 245 kb Incorect 0
4 179 ms 249 kb Incorect 0
5 379 ms 249 kb Incorect 0
6 490 ms 249 kb Incorect 0
7 559 ms 249 kb Incorect 0
8 809 ms 249 kb Incorect 0
9 766 ms 249 kb Incorect 0
10 957 ms 249 kb Time limit exceeded 0
Punctaj total 0