Borderou de evaluare (job #1602661)

Utilizator cameleonGeorgescu Dan cameleon Data 16 februarie 2016 21:08:53
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("luna.in","r",stdin); ^ user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("luna.out","w",stdout); ^ user.cpp:56:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n, &m); ^ user.cpp:59: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:64:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&k); ^ user.cpp:67:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir); ^ /tmp/ccUl9r8J.o: In function `main': user.cpp:(.text.startup+0x17d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK5
24ms280kbOK5
348ms10328kbOK5
456ms10376kbOK5
5Depăşit12236kbTime limit exceeded.0
6216ms8404kbOK5
70ms308kbOK5
80ms292kbOK5
912ms480kbOK5
104ms360kbOK5
118ms524kbOK5
124ms412kbOK5
130ms484kbOK5
14152ms1464kbOK5
158ms516kbOK5
1672ms676kbOK5
17Depăşit1588kbTime limit exceeded.0
18Depăşit2152kbTime limit exceeded.0
19Depăşit2468kbTime limit exceeded.0
20Depăşit2452kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?