Pagini recente » Borderou de evaluare (job #2557747) | Borderou de evaluare (job #3268139) | Borderou de evaluare (job #1853020) | Borderou de evaluare (job #2678672) | Borderou de evaluare (job #2371234)
Borderou de evaluare (job #2371234)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void FenwickTree<T>::__build() [with T = int]':
main.cpp:23:10: required from 'FenwickTree<T>::FenwickTree(std::vector<T>&) [with T = int]'
main.cpp:83:54: required from here
main.cpp:54: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:55:21: required from 'void FenwickTree<T>::__build() [with T = int]'
main.cpp:23:10: required from 'FenwickTree<T>::FenwickTree(std::vector<T>&) [with T = int]'
main.cpp:83:54: required from here
main.cpp:62: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:119: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:123: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:128: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:133: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:147: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:151: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 | 43ms | 524kb | OK | 10 |
5 | 96ms | 782kb | OK | 10 |
6 | 147ms | 1044kb | OK | 10 |
7 | 155ms | 1302kb | OK | 10 |
8 | 217ms | 1433kb | OK | 10 |
9 | 212ms | 1564kb | OK | 10 |
10 | 197ms | 1433kb | OK | 10 |
Punctaj total | 100 |