Borderou de evaluare (job #779504)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Impletire (clasa a 9-a) Compilator c-32
Rundă Tema 44 Clasa a 5-a Status evaluat
Dată 5 iun. 2024 10:15:25 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 27 | if(a/i1>b/i2 || b==0 && a!=0) | ~~~~~^~~~~~~ main.c:36:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 36 | else if(a/i1<b/i2 || a==0 && b!=0) | ~~~~~^~~~~~~ main.c:47:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 47 | fprintf(fout ,"%d",n); | ~^ ~ | | | | | long long int | int | %lld main.c:7:16: warning: unused variable 'c2' [-Wunused-variable] 7 | int a,b,c1,c2,aa,bb,i1,i2; | ^~ main.c:7:13: warning: unused variable 'c1' [-Wunused-variable] 7 | int a,b,c1,c2,aa,bb,i1,i2; | ^~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin ,"%d%d",&a,&b); | ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 507 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 507 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 266 kb Incorect 0
9 59 ms 249 kb Time limit exceeded 0
10 1 ms 266 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 59 ms 249 kb Time limit exceeded 0
14 1 ms 245 kb Incorect 0
15 59 ms 249 kb Time limit exceeded 0
16 1 ms 266 kb Incorect 0
17 59 ms 249 kb Time limit exceeded 0
18 1 ms 245 kb Incorect 0
19 1 ms 266 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 0