Borderou de evaluare (job #1400432)

Utilizator seby5381Marinescu Sebastian seby5381 Data 25 martie 2015 11:58:12
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:7: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:8: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:9:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld\n",&n,&m); ^ user.cpp:12:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ /tmp/ccHz48rO.o: In function `main': user.cpp:(.text.startup+0x96): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms1412kbOK10
2Depăşit3660kbTime limit exceeded.0
3Depăşit8460kbTime limit exceeded.0
4Depăşit25932kbTime limit exceeded.0
5Depăşit19008kbTime limit exceeded.0
6Depăşit42768kbTime limit exceeded.0
7Depăşit34460kbTime limit exceeded.0
8Depăşit40484kbTime limit exceeded.0
992ms9260kbWall time limit exceeded.0
1092ms9260kbWall time limit exceeded.0
Punctaj total10

Ceva nu functioneaza?