Pagini recente » Borderou de evaluare (job #2422598) | Borderou de evaluare (job #1844052) | Borderou de evaluare (job #2838644) | Borderou de evaluare (job #3045378) | Borderou de evaluare (job #1497610)
Borderou de evaluare (job #1497610)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in", "r", stdin);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out", "w", stdout);
^
user.cpp:10:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &k, &a, &b);
^
user.cpp:15:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:21:17: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol += r[v[i]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 4ms | 500kb | OK | 10 |
4 | 20ms | 640kb | OK | 10 |
5 | 44ms | 832kb | OK | 10 |
6 | 64ms | 1592kb | OK | 10 |
7 | 84ms | 1240kb | OK | 10 |
8 | 104ms | 1504kb | OK | 10 |
9 | 172ms | 2276kb | OK | 10 |
10 | Depăşit | 2396kb | Time limit exceeded. | 0 |
Punctaj total | 90 |