Pagini recente » Borderou de evaluare (job #3004112) | Borderou de evaluare (job #2047937) | Borderou de evaluare (job #1949238) | Monitorul de evaluare | Borderou de evaluare (job #1325332)
Borderou de evaluare (job #1325332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:39: 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:58:41: 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:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:63:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si[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:18:
/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/ccmX1zF6.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 0ms | 280kb | OK | 5 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 288kb | OK | 5 |
| 6 | 0ms | 292kb | OK | 5 |
| 7 | 8ms | 788kb | OK | 5 |
| 8 | 8ms | 852kb | OK | 5 |
| 9 | 8ms | 808kb | OK | 5 |
| 10 | 8ms | 888kb | OK | 5 |
| 11 | 8ms | 876kb | OK | 5 |
| 12 | 12ms | 1028kb | OK | 5 |
| 13 | 36ms | 2200kb | OK | 5 |
| 14 | 28ms | 1768kb | OK | 5 |
| 15 | 28ms | 1864kb | Incorect | 0 |
| 16 | 28ms | 2020kb | OK | 5 |
| 17 | 156ms | 8124kb | OK | 5 |
| 18 | 236ms | 8096kb | Incorect | 0 |
| 19 | 288ms | 9976kb | OK | 5 |
| 20 | Depăşit | 10324kb | Time limit exceeded. | 0 |
| Punctaj total | 85 |