Borderou de evaluare (job #1393706)

Utilizator bobbychivescuChivescu Bogdan-Andrei bobbychivescu Data 19 martie 2015 18:18:41
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.in", "r", stdin); ^ user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.out", "w", stdout); ^ user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &a); ^ user.cpp:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c); ^ /tmp/cc3QRTKh.o: In function `main': user.cpp:(.text.startup+0xd8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms512kbOK10
3164ms692kbIncorect0
4Depăşit692kbTime limit exceeded.0
5Depăşit656kbTime limit exceeded.0
6580ms1408kbIncorect0
7552ms1528kbIncorect0
8Depăşit708kbTime limit exceeded.0
9Depăşit596kbTime limit exceeded.0
10Depăşit816kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?