Pagini recente » Borderou de evaluare (job #606086) | Borderou de evaluare (job #2145432) | Borderou de evaluare (job #1419052) | Borderou de evaluare (job #2095503) | Borderou de evaluare (job #2616529)
Borderou de evaluare (job #2616529)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:35: 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);
^
main.cpp:10:37: 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);
^
main.cpp:12: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);
^
main.cpp:13:87: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) scanf("%d", &v[i]), v[i] = ((v[i] % k) + v[i - 1]) % k;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 9ms | 131kb | OK | 10 |
4 | 25ms | 262kb | OK | 10 |
5 | 46ms | 524kb | OK | 10 |
6 | 73ms | 1310kb | OK | 10 |
7 | 78ms | 917kb | OK | 10 |
8 | 108ms | 1179kb | OK | 10 |
9 | 168ms | 1966kb | OK | 10 |
10 | 198ms | 2097kb | Incorect | 0 |
Punctaj total | 90 |