Pagini recente » Borderou de evaluare (job #1714935) | Borderou de evaluare (job #355967) | Borderou de evaluare (job #1328518) | Borderou de evaluare (job #698223) | Borderou de evaluare (job #1755689)
Borderou de evaluare (job #1755689)
Raport evaluator
Compilare:
user.cpp: In constructor ‘IntervalTree::IntervalTree(const std::vector<int>&)’:
user.cpp:21:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < values.size(); ++i) {
^
user.cpp: In member function ‘void IntervalTree::UpdateInternal(int, int, int, int, int)’:
user.cpp:54:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node >= segments_.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:78:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in","r",stdin);
^
user.cpp:79:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out","w", stdout);
^
user.cpp:81:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &num_values, &num_queries);
^
user.cpp:85:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &values[i]);
^
user.cpp:90:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &type, &left_pos, &right_pos);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 476kb | Incorect | 0 | 0 |
2 | 452ms | 480kb | Incorect | 0 | 0 |
3 | Depăşit | 500kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 556kb | Time limit exceeded. | 0 | 0 |
5 | Depăşit | 1776kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 1848kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 1892kb | Time limit exceeded. | 0 |
8 | Depăşit | 1828kb | Time limit exceeded. | 0 |
9 | Depăşit | 1868kb | Time limit exceeded. | 0 |
10 | Depăşit | 1888kb | Time limit exceeded. | 0 |
Punctaj total | 0 |