Pagini recente » Borderou de evaluare (job #1308798) | Borderou de evaluare (job #982256) | Borderou de evaluare (job #978826) | Borderou de evaluare (job #1584813) | Borderou de evaluare (job #2419885)
Borderou de evaluare (job #2419885)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(long long int, int)':
main.cpp:22:94: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", (1LL * _sum * (pwr[t % (MOD - 1)] + 1) * _inv - arr[_n - p + 1] + MOD) % MOD); }
^
main.cpp:24:85: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", (1LL * _sum * (pwr[t % (MOD - 1)] - 1) * _inv + arr[p] + MOD) % MOD); } }
^
main.cpp: In function 'int main()':
main.cpp:27:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("complet.in", "r", stdin);
^
main.cpp:28:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("complet.out", "w", stdout);
^
main.cpp:29:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, q; scanf("%d %d", &n, &q);
^
main.cpp:31:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]); _sum += arr[i]; }
^
main.cpp:38:85: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %lld %lld %lld %d %d %d", &x, &y, &z, &t1, &t2, &t3, &p1, &p2, &p3);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 262kb | OK | 10 |
2 | 8ms | 393kb | OK | 10 |
3 | 16ms | 393kb | OK | 10 |
4 | 19ms | 393kb | OK | 10 |
5 | 68ms | 1048kb | OK | 10 |
6 | 377ms | 6291kb | Incorect | 0 |
7 | 416ms | 6422kb | Incorect | 0 |
8 | 399ms | 7340kb | Incorect | 0 |
9 | 430ms | 7471kb | Incorect | 0 |
10 | 427ms | 7471kb | Incorect | 0 |
Punctaj total | 50 |