Pagini recente » Borderou de evaluare (job #2243697) | Borderou de evaluare (job #1670103) | Borderou de evaluare (job #776855) | Borderou de evaluare (job #1368163) | Borderou de evaluare (job #1734484)
Borderou de evaluare (job #1734484)
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/ccaQwYfq.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 | 200ms | 396kb | Incorect | 0 |
2 | 4ms | 396kb | Incorect | 0 |
3 | 0ms | 400kb | Incorect | 0 |
4 | 0ms | 400kb | OK | 4 |
5 | 44ms | 396kb | OK | 4 |
6 | 140ms | 396kb | OK | 4 |
7 | 176ms | 396kb | Incorect | 0 |
8 | Depăşit | 352kb | Time limit exceeded. | 0 |
9 | Depăşit | 348kb | Time limit exceeded. | 0 |
10 | Depăşit | 352kb | Time limit exceeded. | 0 |
11 | Depăşit | 348kb | Time limit exceeded. | 0 |
12 | Depăşit | 352kb | Time limit exceeded. | 0 |
13 | 0ms | 400kb | Incorect | 0 |
14 | 0ms | 400kb | OK | 4 |
15 | Depăşit | 352kb | Time limit exceeded. | 0 |
16 | Depăşit | 352kb | Time limit exceeded. | 0 |
17 | Depăşit | 348kb | Time limit exceeded. | 0 |
18 | Depăşit | 356kb | Time limit exceeded. | 0 |
19 | Depăşit | 348kb | Time limit exceeded. | 0 |
20 | 12ms | 392kb | Incorect | 0 |
21 | 20ms | 396kb | Incorect | 0 |
22 | 12ms | 400kb | Incorect | 0 |
23 | 76ms | 396kb | OK | 4 |
24 | 0ms | 396kb | OK | 4 |
25 | 200ms | 396kb | Incorect | 0 |
Punctaj total | 24 |