Pagini recente » Borderou de evaluare (job #8016) | Autentificare | Borderou de evaluare (job #2018573) | Borderou de evaluare (job #353552) | Borderou de evaluare (job #1785960)
Borderou de evaluare (job #1785960)
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/ccmm8tbM.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 | 256kb | Incorect | 0 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 8ms | 304kb | OK | 10 |
| 4 | 4ms | 312kb | Incorect | 0 |
| 5 | 8ms | 328kb | Incorect | 0 |
| 6 | 12ms | 332kb | Incorect | 0 |
| 7 | 12ms | 340kb | Incorect | 0 |
| 8 | 12ms | 336kb | Incorect | 0 |
| 9 | 16ms | 356kb | Incorect | 0 |
| 10 | 16ms | 356kb | Incorect | 0 |
| Punctaj total | 10 |