Pagini recente » Borderou de evaluare (job #901422) | Borderou de evaluare (job #2260322) | Borderou de evaluare (job #1975709) | Borderou de evaluare (job #2267763) | Borderou de evaluare (job #1786018)
Borderou de evaluare (job #1786018)
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/ccK6NaTJ.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 | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 8ms | 308kb | OK | 10 |
4 | 4ms | 308kb | OK | 10 |
5 | 8ms | 324kb | OK | 10 |
6 | 12ms | 332kb | OK | 10 |
7 | 12ms | 332kb | OK | 10 |
8 | 12ms | 340kb | OK | 10 |
9 | 16ms | 352kb | OK | 10 |
10 | 16ms | 348kb | OK | 10 |
Punctaj total | 100 |