Pagini recente » Borderou de evaluare (job #92376) | Borderou de evaluare (job #234534) | Borderou de evaluare (job #747403) | Borderou de evaluare (job #3223326) | Borderou de evaluare (job #1562432)
Borderou de evaluare (job #1562432)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.in", "r", stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.out", "w", stdout);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccLA0UAq.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | OK | 10 | 100 |
2 | 224ms | 480kb | OK | 10 |
3 | 264ms | 476kb | OK | 10 |
4 | 128ms | 476kb | OK | 10 |
5 | 160ms | 476kb | OK | 10 |
6 | 376ms | 480kb | OK | 10 |
7 | 248ms | 476kb | OK | 10 |
8 | 248ms | 472kb | OK | 10 |
9 | 252ms | 476kb | OK | 10 |
10 | 0ms | 456kb | OK | 10 |
Punctaj total | 100 |