Pagini recente » Borderou de evaluare (job #43023) | Borderou de evaluare (job #1188626) | Borderou de evaluare (job #2643701) | Borderou de evaluare (job #691780) | Borderou de evaluare (job #1755693)
Borderou de evaluare (job #1755693)
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:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node >= segments_.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:76: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:77: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:79: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:83:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &values[i]);
^
user.cpp:88: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 | 428kb | OK | 10 | 10 |
2 | 8ms | 432kb | OK | 10 | 10 |
3 | 12ms | 456kb | OK | 10 | 10 |
4 | 40ms | 516kb | OK | 10 | 10 |
5 | 72ms | 1576kb | OK | 10 | 10 |
6 | 88ms | 1576kb | OK | 10 | 50 |
7 | 196ms | 1576kb | OK | 10 |
8 | 204ms | 1576kb | OK | 10 |
9 | 208ms | 1576kb | OK | 10 |
10 | 212ms | 1576kb | OK | 10 |
Punctaj total | 100 |