Pagini recente » Borderou de evaluare (job #1012) | Borderou de evaluare (job #1134893) | Borderou de evaluare (job #3186987) | Borderou de evaluare (job #1974539) | Borderou de evaluare (job #2389350)
Borderou de evaluare (job #2389350)
Raport evaluator
Compilare:
main.cpp: In function 'void cit(int&)':
main.cpp:15: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:18: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:161: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:162: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:104:19: warning: array subscript is above array bounds [-Warray-bounds]
aib1[i + bit(i)] = max(aib1[i + bit(i)], aib1[i]);
~~~~~~~~~~~~~~~^
main.cpp:108: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 | 5ms | 131kb | OK | 10 | 10 |
3 | 7ms | 131kb | OK | 10 | 10 |
4 | 16ms | 262kb | OK | 10 | 10 |
5 | 20ms | 786kb | OK | 10 | 10 |
6 | 23ms | 917kb | OK | 10 | 50 |
7 | 69ms | 1572kb | OK | 10 |
8 | 47ms | 1179kb | OK | 10 |
9 | 59ms | 1179kb | OK | 10 |
10 | 61ms | 1310kb | OK | 10 |
Punctaj total | 100 |