Borderou de evaluare (job #1400414)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 11:50:19
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in","r",stdin); ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out","w",stdout); ^ user.cpp:8:26: 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:11:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ /tmp/cc6XLuUI.o: In function `main': user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms1392kbOK10
2160ms3636kbIncorect0
3Depăşit8432kbTime limit exceeded.0
4Depăşit25908kbTime limit exceeded.0
5Depăşit18980kbTime limit exceeded.0
6Depăşit29752kbTime limit exceeded.0
7Depăşit20872kbTime limit exceeded.0
8Depăşit41984kbTime limit exceeded.0
9164ms10072kbKilled by signal 11(SIGSEGV).0
10164ms10068kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?