Pagini recente » Borderou de evaluare (job #241563) | Borderou de evaluare (job #616054) | Borderou de evaluare (job #2565235) | Borderou de evaluare (job #2303014) | Borderou de evaluare (job #2389351)
Borderou de evaluare (job #2389351)
Raport evaluator
Compilare:
main.cpp: In function 'void cit(int&)':
main.cpp:16:58: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin), pz = 0;
^
main.cpp:19:58: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if (++pz == dim) fread(ax, 1, dim, stdin), pz = 0;
^
main.cpp: In function 'int main()':
main.cpp:275:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
main.cpp:276:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
main.cpp: In function 'void build()':
main.cpp:218:19: warning: array subscript is above array bounds [-Warray-bounds]
aib1[i + bit(i)] = max(aib1[i + bit(i)], aib1[i]);
~~~~~~~~~~~~~~~^
main.cpp:222:19: warning: array subscript is above array bounds [-Warray-bounds]
aib2[i - bit(i)] = max(aib2[i - bit(i)], aib2[i]);
~~~~~~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 4ms | 131kb | OK | 10 | 10 |
3 | 5ms | 262kb | OK | 10 | 10 |
4 | 13ms | 393kb | OK | 10 | 10 |
5 | 16ms | 917kb | OK | 10 | 10 |
6 | 19ms | 1048kb | OK | 10 | 50 |
7 | 48ms | 2359kb | OK | 10 |
8 | 46ms | 1441kb | OK | 10 |
9 | 46ms | 1441kb | OK | 10 |
10 | 48ms | 1572kb | OK | 10 |
Punctaj total | 100 |