Borderou de evaluare (job #23477)

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 14:08:09 Scor 80

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:61:29: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:68:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:89:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:104:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:112:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:138:53: warning: NULL used in arithmetic [-Wpointer-arith] 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/ccCEjCb4.o: In function `main': user.cpp:(.text.startup+0x9c): 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 264 kb OK 10
3 0 ms 264 kb Incorect 0
4 0 ms 264 kb OK 10
5 0 ms 264 kb OK 10
6 0 ms 264 kb OK 10
7 0 ms 264 kb Incorect 0
8 0 ms 264 kb OK 10
9 0 ms 268 kb OK 10
10 0 ms 260 kb OK 10
Punctaj total 80