Borderou de evaluare (job #23358)

Utilizator avatar gegead Dragos Gegea gegead IP ascuns
Problemă Url Compilator cpp
Rundă Baraj Șumen seniori 2013 - etapa 1 Status evaluat
Dată 10 oct. 2013 13:48:07 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:56:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:63:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:79:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:94:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:102:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccs7yJNx.o: In function `main': user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 264 kb OK 10
2 0 ms 260 kb Incorect 0
3 0 ms 264 kb Incorect 0
4 0 ms 260 kb OK 10
5 0 ms 260 kb OK 10
6 0 ms 260 kb Incorect 0
7 0 ms 256 kb Incorect 0
8 0 ms 264 kb Incorect 0
9 0 ms 260 kb OK 10
10 0 ms 264 kb OK 10
Punctaj total 50