Borderou de evaluare (job #2242432)

Utilizator marinaoprOprea Marina marinaopr Data 18 septembrie 2018 18:01:09
Problema Perspic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:78: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
20ms1428kbOK10
30ms1456kbOK10
40ms1404kbOK10
50ms1432kbOK10
60ms1592kbOK10
712ms1596kbOK10
88ms1556kbOK10
98ms1572kbOK10
100ms1544kbOK10
Punctaj total100

Ceva nu functioneaza?