Borderou de evaluare (job #1504409)

Utilizator ZeBuGgErCasapu Andreas ZeBuGgEr Data 17 octombrie 2015 18:24:55
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&t); ^ user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d %d %d %d %d %d %d",&x,&y,&z,&a,&b,&c,&n); ^ user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:71:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long long int*’ [-Wformat=] user.cpp:100:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d\n",arr2[3]); ^ user.cpp:67:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&t); ^ user.cpp:71:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d %d %d %d %d %d %d",&x,&y,&z,&a,&b,&c,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOk!10
20ms272kbOk!10
30ms276kbOk!10
40ms268kbOk!10
50ms272kbOk!10
60ms276kbOk!10
70ms272kbOk!10
84ms272kbOk!10
94ms272kbOk!10
108ms272kbOk!10
Punctaj total100

Ceva nu functioneaza?