Borderou de evaluare (job #317288)

Utilizator avatar mateicos matei costescu mateicos IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 18 oct. 2017 09:14:07 Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:47:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:33:15: warning: unused variable ‘b’ [-Wunused-variable] user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:32:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:47:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/cct4S5tY.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 20 ms 8072 kb Bravo! 10
2 20 ms 8068 kb Bravo! 10
3 20 ms 8092 kb Bravo! 10
4 24 ms 8116 kb Bravo! 10
5 36 ms depășită Memory limit exceeded. 0
6 76 ms depășită Memory limit exceeded. 0
7 32 ms depășită Memory limit exceeded. 0
8 24 ms depășită Memory limit exceeded. 0
9 24 ms depășită Memory limit exceeded. 0
10 24 ms depășită Memory limit exceeded. 0
Punctaj total 40