Pagini recente » Borderou de evaluare (job #1563964) | Borderou de evaluare (job #697216) | Borderou de evaluare (job #1921490) | Borderou de evaluare (job #2191309) | Borderou de evaluare (job #1565833)
Borderou de evaluare (job #1565833)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:22: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:23:29: 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:24:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccU4peSL.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 | 272kb | OK | 10 | 0 |
2 | 260ms | 300kb | OK | 10 |
3 | 304ms | 300kb | Incorect | 0 |
4 | 136ms | 296kb | OK | 10 |
5 | 244ms | 300kb | OK | 10 |
6 | 452ms | 300kb | Incorect | 0 |
7 | 288ms | 300kb | OK | 10 |
8 | 288ms | 296kb | Incorect | 0 |
9 | 284ms | 292kb | Incorect | 0 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 0 |