Pagini recente » Borderou de evaluare (job #117638) | Borderou de evaluare (job #423895) | Borderou de evaluare (job #941986) | Borderou de evaluare (job #1374640) | Borderou de evaluare (job #1447049)
Borderou de evaluare (job #1447049)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.in","r",stdin);
^
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.out","w",stdout);
^
user.cpp:61:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:61:23:
/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/ccFiTT6X.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 896kb | OK | 5 |
2 | 0ms | 632kb | OK | 5 |
3 | 0ms | 640kb | OK | 5 |
4 | 0ms | 636kb | OK | 5 |
5 | 0ms | 632kb | OK | 5 |
6 | 0ms | 644kb | OK | 5 |
7 | 0ms | 664kb | OK | 5 |
8 | 0ms | 704kb | OK | 5 |
9 | 0ms | 652kb | OK | 5 |
10 | 0ms | 704kb | OK | 5 |
11 | 4ms | 668kb | OK | 5 |
12 | 0ms | 724kb | OK | 5 |
13 | 12ms | 724kb | Incorect | 0 |
14 | 4ms | 696kb | OK | 5 |
15 | 16ms | 732kb | OK | 5 |
16 | 16ms | 736kb | OK | 5 |
17 | 4ms | 720kb | OK | 5 |
18 | 0ms | 660kb | Incorect | 0 |
19 | 16ms | 732kb | Incorect | 0 |
20 | 4ms | 700kb | OK | 5 |
Punctaj total | 85 |