Borderou de evaluare (job #59534)

Utilizator avatar andreeainfo_d Andreea Dutulescu andreeainfo_d IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 feb. 2014 10:13:47 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:19:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:20:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccFNhuFz.o: In function `main': user.cpp:(.text.startup+0x5a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb Bravo! 10
2 0 ms 272 kb Bravo! 10
3 8 ms 284 kb Bravo! 10
4 16 ms 292 kb Bravo! 10
5 124 ms 404 kb Bravo! 10
6 depășit 240 kb Time limit exceeded. 0
7 depășit 264 kb Time limit exceeded. 0
8 depășit 312 kb Time limit exceeded. 0
9 depășit 380 kb Time limit exceeded. 0
10 depășit 400 kb Time limit exceeded. 0
Punctaj total 50