Borderou de evaluare (job #1670777)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 aprilie 2016 00:02:14
Problema Teroristi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.in","r",stdin); ^ user.cpp:74:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.out","w",stdout); ^ user.cpp:78:29: 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:79:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:92:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n", &c1, &c2); ^ /tmp/ccEblL3A.o: In function `main': user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1160kbOk!10
2Depăşit1172kbTime limit exceeded.0
3Depăşit1432kbTime limit exceeded.0
4Depăşit1564kbTime limit exceeded.0
5Depăşit1592kbTime limit exceeded.0
6Depăşit2176kbTime limit exceeded.0
7Depăşit5076kbTime limit exceeded.0
8Depăşit8316kbTime limit exceeded.0
9Depăşit10040kbTime limit exceeded.0
10Depăşit12196kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?