Borderou de evaluare (job #2242336)

Utilizator marinaoprOprea Marina marinaopr Data 18 septembrie 2018 15:14:56
Problema Perspic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d\n",&N,&M); ^ user.cpp:25:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d%d%d\n",&X,&Y,&Z,&T); ^ user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:34:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:40:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d\n",&X,&Y); ^ user.cpp:40:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:45:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d\n",&X,&Y); ^ user.cpp:45:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:74:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d",Answer); ^ user.cpp:25:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d\n",&N,&M); ^ user.cpp:34:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d\n",&X,&Y,&Z,&T); ^ user.cpp:40:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d\n",&X,&Y); ^ user.cpp:45:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d\n",&X,&Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1356kbOK10
20ms1424kbOK10
30ms1452kbOK10
40ms1400kbOK10
50ms1420kbOK10
60ms1584kbOK10
712ms1588kbIncorect0
88ms1544kbIncorect0
98ms1560kbIncorect0
100ms1528kbIncorect0
Punctaj total60

Ceva nu functioneaza?