Borderou de evaluare (job #1620744)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 29 februarie 2016 12:27:20
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void cautare()’: user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d ", &f[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d\n", &n, &m); ^ user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:40:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%ld ", &f[1][j]); ^ user.cpp: In function ‘void cautare()’: user.cpp:15:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &f[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.in","r",stdin); ^ user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.out","w",stdout); ^ user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:40:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld ", &f[1][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbIncorect00
24ms340kbOK10
34ms528kbOK10
4Depăşit276kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit264kbTime limit exceeded.00
7Depăşit272kbTime limit exceeded.0
80ms324kbOK10
90ms344kbOK10
1044ms436kbOK10
Punctaj total0

Ceva nu functioneaza?