Borderou de evaluare (job #1631353)

Utilizator SmaugSmaug . Smaug Data 5 martie 2016 15:12:32
Problema Sirag 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sirag2.in", "r", stdin); ^ user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sirag2.out", "w", stdout); ^ user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%i", &t); t--; ) { ^ user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i\n", &n, &l); ^ user.cpp:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/cc1fPT0m.o: In function `main': user.cpp:(.text.startup+0x114): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms932kbOK10
24ms868kbOK10
34ms868kbOK10
44ms868kbOK10
5Depăşit1828kbTime limit exceeded.0
6Depăşit1824kbTime limit exceeded.0
7Depăşit1828kbTime limit exceeded.0
8Depăşit1832kbTime limit exceeded.0
9Depăşit1828kbTime limit exceeded.0
10Depăşit1828kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?