Borderou de evaluare (job #612711)

Utilizator avatar vlad_n Vlad Negut vlad_n IP ascuns
Problemă Suprapuneri (clasa a 6-a) Compilator c-32
Rundă Tema 5 clasa a 6-a Status evaluat
Dată 27 oct. 2021 14:55:52 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d%d", &m, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:10:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d%d", &m, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:6:34: warning: unused variable 'x' [-Wunused-variable] 6 | long long m,n,p2,com,con,cop,x; | ^ main.c:6:26: warning: unused variable 'con' [-Wunused-variable] 6 | long long m,n,p2,com,con,cop,x; | ^~~ main.c:6:22: warning: unused variable 'com' [-Wunused-variable] 6 | long long m,n,p2,com,con,cop,x; | ^~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d", &m, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb rezultat incorect 0
2 1 ms 131 kb rezultat incorect 0
3 1 ms 131 kb rezultat incorect 0
4 1 ms 131 kb rezultat incorect 0
5 1 ms 131 kb rezultat incorect 0
6 1 ms 131 kb OK 10
7 1 ms 131 kb rezultat incorect 0
8 1 ms 131 kb rezultat incorect 0
9 1 ms 131 kb rezultat incorect 0
10 1 ms 131 kb rezultat incorect 0
Punctaj total 10