Pagini recente » Borderou de evaluare (job #645832) | Borderou de evaluare (job #2369979) | Borderou de evaluare (job #251304) | Borderou de evaluare (job #427911) | Borderou de evaluare (job #1785952)
Borderou de evaluare (job #1785952)
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/cc5n0zdg.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 | 264kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 4ms | 308kb | Incorect | 0 |
4 | 4ms | 316kb | Incorect | 0 |
5 | 8ms | 332kb | Incorect | 0 |
6 | 8ms | 332kb | Incorect | 0 |
7 | 8ms | 336kb | Incorect | 0 |
8 | 8ms | 344kb | Incorect | 0 |
9 | 12ms | 356kb | Incorect | 0 |
10 | 12ms | 352kb | Incorect | 0 |
Punctaj total | 0 |