Borderou de evaluare (job #1673074)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 3 aprilie 2016 14:01:51
Problema Diez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.in","r",stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.out","w",stdout); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:18:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(x); ^ user.cpp:19:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(x); ^ user.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tip); ^ user.cpp:25:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c",&p1,&c); ^ user.cpp:33:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p1,&p2,&lg); ^ /tmp/ccFI8uqw.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK4
20ms444kbOK4
360ms464kbOK4
41508ms508kbOK4
5Depăşit588kbTime limit exceeded.0
6Depăşit600kbTime limit exceeded.0
7Depăşit592kbTime limit exceeded.0
8Depăşit756kbTime limit exceeded.0
9Depăşit572kbTime limit exceeded.0
10Depăşit584kbTime limit exceeded.0
11Depăşit580kbTime limit exceeded.0
12Depăşit596kbTime limit exceeded.0
13Depăşit584kbTime limit exceeded.0
14Depăşit576kbTime limit exceeded.0
15Depăşit596kbTime limit exceeded.0
16Depăşit588kbTime limit exceeded.0
174ms972kbKilled by signal 6(SIGABRT).0
184ms1020kbKilled by signal 6(SIGABRT).0
194ms1084kbKilled by signal 6(SIGABRT).0
208ms1332kbKilled by signal 6(SIGABRT).0
214ms1000kbKilled by signal 6(SIGABRT).0
224ms872kbKilled by signal 6(SIGABRT).0
23Depăşit588kbTime limit exceeded.0
24Depăşit756kbTime limit exceeded.0
254ms1244kbKilled by signal 6(SIGABRT).0
Punctaj total16

Ceva nu functioneaza?