Borderou de evaluare (job #1390349)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 16 martie 2015 23:13:59
Problema Enigma Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("enigma.in", "r", stdin); ^ user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("enigma.out", "w", stdout); ^ user.cpp:38:28: 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:39:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); ^ /tmp/cch0pHxJ.o: In function `main': user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5036kbOK10
212ms5156kbOK10
3Depăşit16688kbTime limit exceeded.0
4Depăşit17436kbTime limit exceeded.0
5Depăşit16944kbTime limit exceeded.0
6Depăşit17272kbTime limit exceeded.0
7Depăşit17328kbTime limit exceeded.0
8Depăşit17624kbTime limit exceeded.0
9Depăşit5300kbTime limit exceeded.0
10Depăşit17112kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?