Borderou de evaluare (job #2371234)

Utilizator EdyOnuEdy Onu EdyOnu Data 6 martie 2019 16:50:40
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms131kbOK10
24ms131kbOK10
312ms262kbOK10
443ms524kbOK10
596ms782kbOK10
6147ms1044kbOK10
7155ms1302kbOK10
8217ms1433kbOK10
9212ms1564kbOK10
10197ms1433kbOK10
Punctaj total100

Ceva nu functioneaza?