Pagini recente » Borderou de evaluare (job #2231644) | Borderou de evaluare (job #847638) | Borderou de evaluare (job #2747872) | Borderou de evaluare (job #1948301) | Borderou de evaluare (job #3121347)
Borderou de evaluare (job #3121347)
Raport evaluator
Compilare:
main.cpp: In function 'void add0(int)':
main.cpp:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int j = 0; j < op[1][x].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void add(int)':
main.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int j = 0; j < op[0][x].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void upd(int)':
main.cpp:34:9: warning: statement has no effect [-Wunused-value]
34 | for(id; id <= x.back(); id += id & (-id)) t[id]++;
| ^~
main.cpp: In function 'int get(int)':
main.cpp:38:9: warning: statement has no effect [-Wunused-value]
38 | for(id; id >= 1; id -= id & (-id)) c += t[id];
| ^~
main.cpp: At global scope:
main.cpp:41:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
41 | main(){
| ^~~~
main.cpp: In function 'int main()':
main.cpp:62:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:79:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(int j = 0; j < seg[x[i]].size(); j++) upd(seg[x[i]][j]);
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:81:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int j = 0; j < V[x[i]].size(); j++) ans += (ll)get(V[x[i]][j].f) * V[x[i]][j].s;
| ~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 609ms | 150396kb | Incorect | 0 |
2 | 351ms | 99889kb | Incorect | 0 |
3 | 178ms | 112717kb | Incorect | 0 |
4 | 19ms | 13668kb | Incorect | 0 |
5 | 14ms | 4227kb | Incorect | 0 |
6 | 569ms | 133459kb | Incorect | 0 |
7 | 49ms | 9211kb | Incorect | 0 |
8 | 684ms | 151384kb | Incorect | 0 |
9 | 282ms | 97644kb | OK | 4 |
10 | 193ms | 112812kb | Incorect | 0 |
11 | 19ms | 12259kb | Incorect | 0 |
12 | 14ms | 4489kb | Incorect | 0 |
13 | 644ms | 134770kb | Incorect | 0 |
14 | 59ms | 9330kb | Incorect | 0 |
15 | 545ms | 148209kb | Fisier de iesire incomplet! | 0 |
16 | 178ms | 46092kb | Incorect | 0 |
17 | 168ms | 111480kb | Fisier de iesire incomplet! | 0 |
18 | 14ms | 4227kb | Incorect | 0 |
19 | 14ms | 3969kb | Incorect | 0 |
20 | 515ms | 131432kb | Fisier de iesire incomplet! | 0 |
21 | 44ms | 9166kb | Incorect | 0 |
22 | 327ms | 81326kb | OK | 5 |
23 | 24ms | 5718kb | Incorect | 0 |
24 | 203ms | 55926kb | OK | 5 |
Punctaj total | 14 |