Pagini recente » Borderou de evaluare (job #1111322) | Borderou de evaluare (job #3244558) | Borderou de evaluare (job #3194265) | Borderou de evaluare (job #940817) | Borderou de evaluare (job #1803476)
Borderou de evaluare (job #1803476)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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.in", "r", stdin);
^
user.cpp:10:40: 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:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:16:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccyIsnJE.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 4ms | 520kb | OK | 10 |
4 | 4ms | 516kb | OK | 10 |
5 | 8ms | 596kb | OK | 10 |
6 | 8ms | 652kb | OK | 10 |
7 | 8ms | 668kb | OK | 10 |
8 | 12ms | 672kb | OK | 10 |
9 | 12ms | 752kb | OK | 10 |
10 | 12ms | 752kb | OK | 10 |
Punctaj total | 100 |