Pagini recente » Borderou de evaluare (job #845504) | Borderou de evaluare (job #2514812) | Borderou de evaluare (job #355294) | Borderou de evaluare (job #1425920) | Borderou de evaluare (job #1734485)
Borderou de evaluare (job #1734485)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.in", "r", stdin);
^
user.cpp:17:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:171:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:17: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]
return __gets_warn (__str);
^
/tmp/ccZDdufA.o: In function `read()':
user.cpp:(.text+0x4c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 356kb | Time limit exceeded. | 0 |
2 | 28ms | 400kb | OK | 4 |
3 | 0ms | 396kb | OK | 4 |
4 | 0ms | 404kb | OK | 4 |
5 | 40ms | 400kb | OK | 4 |
6 | 124ms | 400kb | OK | 4 |
7 | Depăşit | 352kb | Time limit exceeded. | 0 |
8 | Depăşit | 356kb | Time limit exceeded. | 0 |
9 | Depăşit | 352kb | Time limit exceeded. | 0 |
10 | Depăşit | 356kb | Time limit exceeded. | 0 |
11 | Depăşit | 356kb | Time limit exceeded. | 0 |
12 | Depăşit | 356kb | Time limit exceeded. | 0 |
13 | 0ms | 400kb | OK | 4 |
14 | 0ms | 404kb | OK | 4 |
15 | Depăşit | 356kb | Time limit exceeded. | 0 |
16 | Depăşit | 356kb | Time limit exceeded. | 0 |
17 | Depăşit | 356kb | Time limit exceeded. | 0 |
18 | Depăşit | 356kb | Time limit exceeded. | 0 |
19 | Depăşit | 356kb | Time limit exceeded. | 0 |
20 | 76ms | 404kb | OK | 4 |
21 | 92ms | 404kb | OK | 4 |
22 | 56ms | 400kb | OK | 4 |
23 | 68ms | 400kb | OK | 4 |
24 | 0ms | 400kb | OK | 4 |
25 | Depăşit | 356kb | Time limit exceeded. | 0 |
Punctaj total | 48 |