Pagini recente » Borderou de evaluare (job #2699930) | Cod sursa (job #325577) | Borderou de evaluare (job #1527107) | Cod sursa (job #98558) | Borderou de evaluare (job #1447027)
Borderou de evaluare (job #1447027)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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:50: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:50: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/ccdJWnLd.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 | 20ms | 788kb | OK | 5 |
| 2 | 0ms | 628kb | OK | 5 |
| 3 | 0ms | 632kb | OK | 5 |
| 4 | 0ms | 636kb | OK | 5 |
| 5 | 0ms | 640kb | OK | 5 |
| 6 | 0ms | 644kb | OK | 5 |
| 7 | 32ms | 788kb | OK | 5 |
| 8 | Depăşit | 2572kb | Time limit exceeded. | 0 |
| 9 | 16ms | 744kb | OK | 5 |
| 10 | 40ms | 896kb | OK | 5 |
| 11 | Depăşit | 1520kb | Time limit exceeded. | 0 |
| 12 | 132ms | 1156kb | OK | 5 |
| 13 | Depăşit | 2592kb | Time limit exceeded. | 0 |
| 14 | 28ms | 788kb | OK | 5 |
| 15 | Depăşit | 1792kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1792kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1720kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2592kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2596kb | Time limit exceeded. | 0 |
| 20 | 48ms | 888kb | OK | 5 |
| Punctaj total | 60 |