Pagini recente » Borderou de evaluare (job #368708) | Borderou de evaluare (job #1133063) | Borderou de evaluare (job #2114790) | Borderou de evaluare (job #3145058) | Borderou de evaluare (job #1233638)
Borderou de evaluare (job #1233638)
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:11: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:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
user.cpp:24: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:25: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:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
user.cpp:42: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:43: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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 4ms | 260kb | OK | 10 |
6 | 4ms | 260kb | OK | 10 |
7 | 48ms | 260kb | OK | 10 |
8 | 116ms | 260kb | OK | 10 |
9 | 48ms | 260kb | OK | 10 |
10 | 16ms | 252kb | OK | 10 |
Punctaj total | 100 |