Borderou de evaluare (job #1925461)

Utilizator robx12lnLinca Robert robx12ln Data 13 martie 2017 11:19:20
Problema Dif2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d", &op ); ^ user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d", &n ); ^ user.cpp:35:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d", &v[i] ); ^ user.cpp:42:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d%d%d", &n, &p1, &p2 ); ^ user.cpp:42:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:42:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:44:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d", &v[i] ); ^ user.cpp:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &op ); ^ user.cpp:32:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &n ); ^ user.cpp:35:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &v[i] ); ^ user.cpp:42:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%d", &n, &p1, &p2 ); ^ user.cpp:44:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &v[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
196ms2500kbOK5
264ms2096kbOK5
348ms1556kbOK5
444ms1564kbOK5
560ms2064kbOK5
60ms268kbOK5
70ms264kbOK5
852ms548kbOK5
964ms608kbOK5
1012ms360kbOK5
1172ms620kbOK5
1248ms544kbOK5
1356ms596kbOK5
14284ms1892kbIncorect0
15364ms2512kbIncorect0
16256ms1692kbIncorect0
17356ms2460kbIncorect0
18324ms2180kbIncorect0
19244ms1668kbIncorect0
2024ms1044kbOK5
Punctaj total70

Ceva nu functioneaza?