Borderou de evaluare (job #2419760)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 9 mai 2019 12:49:12
Problema Complet Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void solve(long long int, long long int)': main.cpp:22:75: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", (1LL * _sum * v + arr[p] * ((t & 1) ? -1 : 1) + MOD) % MOD); } ^ main.cpp: In function 'int main()': main.cpp:25: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:26: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:27: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); _n = n; ^ main.cpp:30:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); _sum = (_sum + arr[i]) % MOD; } ^ main.cpp:33: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
13ms131kbOK10
214ms131kbOK10
323ms262kbOK10
430ms262kbOK10
5180ms917kbIncorect0
6900ms3801kbTime limit exceeded0
7900ms3670kbTime limit exceeded0
8901ms3801kbTime limit exceeded0
9903ms3801kbTime limit exceeded0
10900ms3801kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?