Pagini recente » Borderou de evaluare (job #541755) | Borderou de evaluare (job #374140) | Borderou de evaluare (job #588805) | Borderou de evaluare (job #2806195) | Borderou de evaluare (job #1447061)
Borderou de evaluare (job #1447061)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58: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:59: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:63: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:63: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/cc4MCUjd.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 | 904kb | OK | 5 |
2 | 0ms | 636kb | OK | 5 |
3 | 0ms | 640kb | OK | 5 |
4 | 0ms | 636kb | OK | 5 |
5 | 0ms | 640kb | OK | 5 |
6 | 0ms | 652kb | OK | 5 |
7 | 0ms | 668kb | OK | 5 |
8 | 0ms | 708kb | OK | 5 |
9 | 0ms | 664kb | OK | 5 |
10 | 4ms | 732kb | OK | 5 |
11 | 4ms | 668kb | OK | 5 |
12 | 0ms | 768kb | OK | 5 |
13 | 12ms | 792kb | OK | 5 |
14 | 8ms | 728kb | OK | 5 |
15 | 24ms | 784kb | OK | 5 |
16 | 20ms | 792kb | OK | 5 |
17 | 20ms | 800kb | OK | 5 |
18 | 20ms | 784kb | OK | 5 |
19 | 28ms | 792kb | OK | 5 |
20 | 8ms | 724kb | OK | 5 |
Punctaj total | 100 |