Borderou de evaluare (job #1600181)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 14 februarie 2016 19:11:46
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &f[1][j]); ^ user.cpp:24:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &f[i][j]); ^ user.cpp:48:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ", g[i][j]); ^ user.cpp:7: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:8: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:11: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:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &f[1][j]); ^ user.cpp:24: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:30:9: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(ok==1) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
28ms288kbIncorect0
38ms320kbKilled by signal 11(SIGSEGV).0
4Depăşit252kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.00
7Depăşit264kbTime limit exceeded.0
80ms280kbIncorect0
94ms288kbIncorect0
1068ms324kbIncorect0
Punctaj total0

Ceva nu functioneaza?