Pagini recente » Borderou de evaluare (job #1373232) | Borderou de evaluare (job #2439172) | Borderou de evaluare (job #2594531) | Borderou de evaluare (job #1856305) | Borderou de evaluare (job #1786012)
Borderou de evaluare (job #1786012)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soldati.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soldati.out","w",stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&Teste);
^
user.cpp:14:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Soldati+1);
^
/tmp/ccuqakKU.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 8ms | 304kb | OK | 10 |
4 | 4ms | 308kb | OK | 10 |
5 | 8ms | 320kb | Incorect | 0 |
6 | 12ms | 328kb | Incorect | 0 |
7 | 12ms | 336kb | Incorect | 0 |
8 | 12ms | 332kb | Incorect | 0 |
9 | 16ms | 348kb | Incorect | 0 |
10 | 16ms | 348kb | Incorect | 0 |
Punctaj total | 20 |