Borderou de evaluare (job #2548252)

Utilizator bogdi1bogdan bancuta bogdi1 Data 16 februarie 2020 14:01:58
Problema Diez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 16

Raport evaluator

Compilare: main.cpp: In function 'Interval join(const Interval&, const Interval&)': main.cpp:54:47: warning: narrowing conversion of '((((((long long int)((int)left.Interval::hs)) * 1ll) * ((long long int)power[((int)right.Interval::lg)])) + ((long long int)((int)right.Interval::hs))) % 1000000007ll)' from 'long long int' to 'int' inside { } [-Wnarrowing] (left.hs*1LL*power[right.lg]+right.hs)%mod, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp: In function 'int main()': main.cpp:108:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("diez.in", "r",stdin); ^ main.cpp:109:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("diez.out", "w",stdout); ^ main.cpp:112:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ main.cpp:117:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:124:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &que[i].tip); ^ main.cpp:126:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c\n", &que[i].lg, &que[i].ch); ^ main.cpp:134:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &que[i].q1, &que[i].q2, &que[i].lg); ^ main.cpp: In function 'int bs1(int, int, int, int)': main.cpp:105:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] return last; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
117ms2170kbOK4
217ms2228kbOK4
335ms2752kbOK4
4284ms6160kbOK4
5968ms131088kbMemory limit exceeded0
6439ms13893kbKilled by Signal 110
7641ms131088kbMemory limit exceeded0
8524ms13107kbKilled by Signal 110
9409ms13107kbKilled by Signal 110
10579ms131088kbMemory limit exceeded0
11652ms131088kbMemory limit exceeded0
12560ms131088kbMemory limit exceeded0
13560ms131088kbMemory limit exceeded0
14564ms131088kbMemory limit exceeded0
15580ms131088kbMemory limit exceeded0
16576ms131088kbMemory limit exceeded0
17480ms10747kbKilled by Signal 110
18867ms17301kbKilled by Signal 110
19686ms15728kbKilled by Signal 110
20759ms16777kbKilled by Signal 110
21628ms13893kbKilled by Signal 110
22643ms13631kbKilled by Signal 110
23305ms10747kbKilled by Signal 110
24408ms8650kbKilled by Signal 110
25481ms9437kbKilled by Signal 110
Punctaj total16

Ceva nu functioneaza?