Pagini recente » Borderou de evaluare (job #1334066) | Borderou de evaluare (job #389432) | Borderou de evaluare (job #397731) | Borderou de evaluare (job #1839563) | Borderou de evaluare (job #1233620)
Borderou de evaluare (job #1233620)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out", "w", stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:28:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:46:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 240kb | OK | 10 |
5 | 4ms | 252kb | OK | 10 |
6 | 4ms | 256kb | OK | 10 |
7 | 48ms | 252kb | OK | 10 |
8 | 28ms | 236kb | Incorect | 0 |
9 | 48ms | 260kb | OK | 10 |
10 | 16ms | 240kb | OK | 10 |
Punctaj total | 90 |