Borderou de evaluare (job #317584)

Utilizator avatar ANDREOS Andrei Otetea ANDREOS IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 19 oct. 2017 20:26:28 Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int h(char*)’: user.cpp:18:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘int main()’: user.cpp:33:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:33:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[15]’ [-Wformat] user.cpp:50:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:52:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:68:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:70:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:29:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccpct3ea.o: In function `main': user.cpp:(.text.startup+0x62): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 28 ms 8064 kb Bravo! 10
2 28 ms 8064 kb Bravo! 10
3 28 ms 8084 kb Bravo! 10
4 24 ms 8112 kb Bravo! 10
5 28 ms depășită Memory limit exceeded. 0
6 32 ms depășită Memory limit exceeded. 0
7 28 ms depășită Memory limit exceeded. 0
8 28 ms depășită Memory limit exceeded. 0
9 28 ms depășită Memory limit exceeded. 0
10 28 ms depășită Memory limit exceeded. 0
Punctaj total 40