Pagini recente » Borderou de evaluare (job #1957133) | Borderou de evaluare (job #938084) | Borderou de evaluare (job #669597) | Borderou de evaluare (job #1228676) | Borderou de evaluare (job #2661062)
Borderou de evaluare (job #2661062)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'SparseTable<T>::SparseTable(std::vector<_Tp>&, std::function<T(const T&, const T&)>) [with T = long long int]':
main.cpp:87:70: required from here
main.cpp:64:37: warning: 'SparseTable<long long int>::f' will be initialized after [-Wreorder]
function<T(const T&, const T&)> f;
^
main.cpp:63:23: warning: 'std::vector<std::vector<long long int>, std::allocator<std::vector<long long int> > > SparseTable<long long int>::table' [-Wreorder]
vector<vector<T>> table;
^~~~~
main.cpp:65:5: warning: when initialized here [-Wreorder]
SparseTable(vector<T> &a, function<T(const T&, const T&)> f) : f(f), table(a.size(), vector<T>(maxlog)) {
^~~~~~~~~~~
main.cpp:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i) {
main.cpp:70:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j + (1 << (i + 1)) <= a.size(); ++j) {
main.cpp: In function 'int main()':
main.cpp:143:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.in", "r", stdin);
^
main.cpp:144:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 300ms | 41025kb | Time limit exceeded | 0 |
3 | 303ms | 41025kb | Time limit exceeded | 0 |
4 | 292ms | 131088kb | Memory limit exceeded | 0 |
5 | 281ms | 131088kb | Memory limit exceeded | 0 |
6 | 275ms | 131088kb | Memory limit exceeded | 0 |
7 | 289ms | 131088kb | Memory limit exceeded | 0 |
8 | 290ms | 131088kb | Memory limit exceeded | 0 |
9 | 288ms | 131088kb | Memory limit exceeded | 0 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 20 |