Pagini recente » Borderou de evaluare (job #507268) | Cod sursa (job #2396830) | Borderou de evaluare (job #2193722) | Borderou de evaluare (job #2203877) | Borderou de evaluare (job #2371242)
Borderou de evaluare (job #2371242)
Raport evaluator
Compilare:
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 | 41ms | 393kb | OK | 10 |
| 5 | 95ms | 782kb | OK | 10 |
| 6 | 142ms | 1044kb | OK | 10 |
| 7 | 148ms | 1302kb | OK | 10 |
| 8 | 173ms | 1433kb | OK | 10 |
| 9 | 209ms | 1564kb | OK | 10 |
| 10 | 204ms | 1433kb | OK | 10 |
| Punctaj total | 100 |