Borderou de evaluare (job #1958989)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 8 aprilie 2017 23:12:12
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:13:37: 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:14:39: 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:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:20:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &k); ^ user.cpp:21:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(Perl); ^ /tmp/ccI0VoPq.o: In function `main': user.cpp:(.text.startup+0x99): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
152ms972kbOK10
20ms512kbOK10
30ms508kbOK10
44ms512kbOK10
5Depăşit1368kbTime limit exceeded.0
6Depăşit1368kbTime limit exceeded.0
7Depăşit1368kbTime limit exceeded.0
8Depăşit1368kbTime limit exceeded.0
9Depăşit1372kbTime limit exceeded.0
10Depăşit1372kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?