Borderou de evaluare (job #2044774)

Utilizator lulian23Tiganescu Iulian lulian23 Data 21 octombrie 2017 13:25:57
Problema Pic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void q1()’: user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[ i ][ j ]); ^ user.cpp:24:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", poz); ^ user.cpp: In function ‘void citire()’: user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[ i ][ j ]); ^ user.cpp: In function ‘long long int binara()’: user.cpp:76:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:83:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &q, &n); ^ user.cpp:83:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void q1()’: user.cpp:14:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[ i ][ j ]); ^ user.cpp: In function ‘void citire()’: user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[ i ][ j ]); ^ user.cpp: In function ‘int main()’: user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pic.in", "rt", stdin); ^ user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pic.out", "wt", stdout); ^ user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &q, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK5
20ms460kbOK5
30ms468kbOK5
40ms468kbOK5
50ms488kbOK5
60ms484kbOK5
70ms488kbOK5
80ms488kbOK5
90ms492kbOK5
100ms484kbOK5
110ms504kbOK5
120ms500kbOK5
130ms492kbOK5
140ms500kbOK5
150ms492kbOK5
160ms496kbOK5
170ms492kbOK5
180ms500kbOK5
190ms500kbOK5
200ms496kbOK5
Punctaj total100

Ceva nu functioneaza?