Borderou de evaluare (job #7698)

Utilizator avatar Alexandru098 Costea Vlad Alexandru Alexandru098 IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2013 18:10:40 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:58:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:53:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:57:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:58:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/cc0BDRDb.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 276 kb Bravo! 10
2 0 ms 284 kb Bravo! 10
3 4 ms 308 kb Bravo! 10
4 8 ms 316 kb Bravo! 10
5 68 ms 464 kb Bravo! 10
6 depășit 504 kb Time limit exceeded. 0
7 depășit 620 kb Time limit exceeded. 0
8 depășit 944 kb Time limit exceeded. 0
9 depășit 1020 kb Time limit exceeded. 0
10 depășit 1044 kb Time limit exceeded. 0
Punctaj total 50