Borderou de evaluare (job #174487)

Utilizator avatar bciobanu Bogdan Ciobanu bciobanu IP ascuns
Problemă Fazan (clasele 11-12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 18 dec. 2015 21:41:20 Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:100:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:101:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:104:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:109:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:109:19: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] /tmp/ccjpRUG2.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 Punctaj/grupă
1 0 ms 268 kb Răspuns incorect 0 0
2 0 ms 272 kb OK 5
3 0 ms 264 kb OK 5 0
4 0 ms 272 kb Șirurile nu se potrivesc cap la cap. 0
5 0 ms 268 kb OK 5 10
6 0 ms 272 kb OK 5
7 0 ms 268 kb OK 5 10
8 0 ms 272 kb OK 5
9 0 ms 268 kb OK 5 10
10 0 ms 276 kb OK 5
11 0 ms 280 kb OK 5 5
12 0 ms 316 kb OK 5 5
13 4 ms 432 kb OK 5 5
14 8 ms 876 kb OK 5 5
15 36 ms 1876 kb OK 5 5
16 44 ms 3076 kb OK 5 5
17 52 ms 3476 kb OK 5 5
18 48 ms 3884 kb OK 5 5
19 84 ms 4256 kb OK 5 5
20 88 ms 4256 kb OK 5 5
Punctaj total 80