Pagini recente » Borderou de evaluare (job #2783877) | Borderou de evaluare (job #1545603) | Cod sursa (job #367644) | Cod sursa (job #1167065) | Borderou de evaluare (job #1795713)
Borderou de evaluare (job #1795713)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&n,&c);
^
user.cpp:15:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
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:15:15:
/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/cciu0gJ0.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1288kb | OK | 5 |
| 2 | 0ms | 1284kb | OK | 5 |
| 3 | 4ms | 1292kb | OK | 5 |
| 4 | 4ms | 1280kb | OK | 5 |
| 5 | 4ms | 1288kb | OK | 5 |
| 6 | 4ms | 1284kb | OK | 5 |
| 7 | 140ms | 1284kb | Incorect | 0 |
| 8 | 128ms | 1284kb | Incorect | 0 |
| 9 | 132ms | 1292kb | OK | 5 |
| 10 | 220ms | 1288kb | OK | 5 |
| 11 | Depăşit | 1260kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1264kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1260kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1260kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1272kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1312kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1296kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1308kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1304kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |