Pagini recente » Borderou de evaluare (job #3222637) | Borderou de evaluare (job #2661473) | Borderou de evaluare (job #3164539) | Borderou de evaluare (job #2935739) | Borderou de evaluare (job #2371218)
Borderou de evaluare (job #2371218)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void FenwickTree<T>::update(int, const T&) [with T = int]':
main.cpp:127:18: required from here
main.cpp:43:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int next = position; next < tree.size(); next = getNext(next)) {
main.cpp: In instantiation of 'void FenwickTree<T>::__build() [with T = int]':
main.cpp:24:10: required from 'FenwickTree<T>::FenwickTree(std::vector<T>&) [with T = int]'
main.cpp:84:54: required from here
main.cpp:55:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < tree.size(); ++i) {
main.cpp: In instantiation of 'void FenwickTree<T>::__propagateToNext(int) [with T = int]':
main.cpp:56:21: required from 'void FenwickTree<T>::__build() [with T = int]'
main.cpp:24:10: required from 'FenwickTree<T>::FenwickTree(std::vector<T>&) [with T = int]'
main.cpp:84:54: required from here
main.cpp:63:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int next = i; next < tree.size(); next = getNext(next)) {
main.cpp: In function 'void answer(SearchFenwickTree&, int, FILE*, FILE*)':
main.cpp:122:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int type; fscanf(fin, "%d", &type);
^
main.cpp:126:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int a, b; fscanf(fin, "%d %d", &a, &b);
^
main.cpp:131:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int a, b; fscanf(fin, "%d %d", &a, &b);
^
main.cpp:136:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int eq; fscanf(fin, "%d", &eq);
^
main.cpp: In function 'void solve()':
main.cpp:150:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &N, &M);
^
main.cpp:154:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int x; fscanf(fin, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 4ms | 131kb | OK | 10 |
3 | 12ms | 262kb | OK | 10 |
4 | 42ms | 524kb | OK | 10 |
5 | 93ms | 782kb | OK | 10 |
6 | 145ms | 1044kb | OK | 10 |
7 | 141ms | 1302kb | OK | 10 |
8 | 196ms | 1433kb | OK | 10 |
9 | 198ms | 1564kb | OK | 10 |
10 | 219ms | 1433kb | OK | 10 |
Punctaj total | 100 |