Borderou de evaluare (job #171402)

Utilizator avatar fanache99 Constantin Stefan fanache99 IP ascuns
Problemă Constrangere Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 6 dec. 2015 13:25:51 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:175:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:176:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:180:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:182:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:186:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int operation(int, int, char)’: user.cpp:135:1: warning: control reaches end of non-void function [-Wreturn-type] /tmp/cc8nwy5P.o: In function `main': user.cpp:(.text.startup+0xc9): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 272 kb OK 10
2 0 ms 288 kb OK 10
3 0 ms 280 kb OK 10
4 0 ms 304 kb OK 10
5 0 ms 280 kb OK 10
6 4 ms 404 kb OK 10
7 0 ms 292 kb OK 10
8 0 ms 316 kb OK 10
9 4 ms 328 kb OK 10
10 0 ms 364 kb OK 10
Punctaj total 100