Borderou de evaluare (job #768234)

Utilizator avatar Ralucutza Popa Maya Ralucutza IP ascuns
Problemă Poarta2 (Clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mar. 2024 18:40:56 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 11 | fscanf(fin, "%d%d ", &cer, &n); | ~^ ~~~~ | | | | int * long long int * | %lld main.c:11:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 11 | fscanf(fin, "%d%d ", &cer, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:90:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 90 | fprintf(fout, "%d\n", dale); | ~^ ~~~~ | | | | int long long int | %lld main.c:92:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 92 | fprintf(fout, "%d\n", pic); | ~^ ~~~ | | | | int long long int | %lld main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d ", &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:85:8: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 85 | if (p==2 && x*2==n+1) { | ^ main.c:7:47: note: 'p' was declared here 7 | long long cer,n,cnt,i,cop,cif,ok,nr,x,pic,p,dale; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 512 kb Incorect 0
2 2 ms 249 kb Incorect 0
3 1 ms 249 kb Incorect 0
4 1 ms 249 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 1 ms 249 kb Incorect 0
7 1 ms 249 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 2 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 26 ms 249 kb Incorect 0
12 9 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 3 ms 249 kb Incorect 0
17 29 ms 249 kb Incorect 0
18 9 ms 249 kb Incorect 0
19 1 ms 249 kb Pomana, pentru ca la OJI sunt 10 puncte din oficiu 5
20 1 ms 249 kb Pomana, pentru ca la OJI sunt 10 puncte din oficiu 5
Punctaj total 10