Pagini recente » Borderou de evaluare (job #1591944) | Borderou de evaluare (job #286897) | Borderou de evaluare (job #382571) | Borderou de evaluare (job #1022740) | Borderou de evaluare (job #1755981)
Borderou de evaluare (job #1755981)
Raport evaluator
Compilare:
user.cpp: In member function ‘void BinaryIndexedTree::Update(int, int)’:
user.cpp:24:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos < values_.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:65:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:66:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:68: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:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
user.cpp:77:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:79:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pos, &val);
^
user.cpp:88:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 8ms | 452kb | OK | 10 |
4 | 32ms | 528kb | OK | 10 |
5 | 72ms | 568kb | OK | 10 |
6 | 112ms | 688kb | OK | 10 |
7 | 120ms | 768kb | OK | 10 |
8 | 180ms | 824kb | OK | 10 |
9 | 176ms | 824kb | OK | 10 |
10 | 176ms | 824kb | OK | 10 |
Punctaj total | 100 |