Borderou de evaluare (job #1400412)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 11:49:37
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/ccRH2XCJ.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
2156ms3636kbIncorect0
3Depăşit8400kbTime limit exceeded.0
4Depăşit21708kbTime limit exceeded.0
5Depăşit18944kbTime limit exceeded.0
6368ms29512kbKilled by signal 11(SIGSEGV).0
7Depăşit25644kbTime limit exceeded.0
8368ms29220kbKilled by signal 11(SIGSEGV).0
9216ms11332kbKilled by signal 11(SIGSEGV).0
10216ms11340kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?