Borderou de evaluare (job #174498)

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 22:07:23 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:123:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:124:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:127:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:132: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:132: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/cc84EU59.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 252 kb OK 5 10
2 0 ms 264 kb OK 5
3 0 ms 248 kb OK 5 10
4 0 ms 264 kb OK 5
5 0 ms 252 kb OK 5 10
6 0 ms 260 kb OK 5
7 0 ms 252 kb OK 5 10
8 0 ms 260 kb OK 5
9 0 ms 252 kb OK 5 10
10 0 ms 264 kb OK 5
11 0 ms 276 kb OK 5 5
12 0 ms 300 kb OK 5 5
13 4 ms 432 kb OK 5 5
14 8 ms 876 kb OK 5 5
15 28 ms 1864 kb OK 5 5
16 48 ms 3068 kb OK 5 5
17 64 ms 3468 kb OK 5 5
18 52 ms 3868 kb OK 5 5
19 84 ms 4252 kb OK 5 5
20 100 ms 4276 kb OK 5 5
Punctaj total 100