Borderou de evaluare (job #1453636)

Utilizator dyanagGrigore Diana dyanag Data 24 iunie 2015 00:20:01
Problema Shop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%d%d", &v[i].a, &v[i].b); ^ user.cpp:55:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%I64d\n", suma); ^ user.cpp:57:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%I64d ", v[i].nr); ^ user.cpp:39:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d", &n, &c, &l); ^ user.cpp:41:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &v[i].a, &v[i].b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms284kbOK10
30ms284kbOK10
40ms288kbOK10
50ms284kbOK10
60ms288kbOK10
70ms288kbRaspuns gresit0
80ms284kbRaspuns gresit0
90ms288kbRaspuns gresit0
100ms284kbRaspuns gresit0
Punctaj total60

Ceva nu functioneaza?