Pagini recente » Borderou de evaluare (job #136101) | Borderou de evaluare (job #2784287) | Borderou de evaluare (job #2341621) | Borderou de evaluare (job #2927312) | Borderou de evaluare (job #3121356)
Borderou de evaluare (job #3121356)
Raport evaluator
Compilare:
main.cpp: In function 'void add0(long long int)':
main.cpp:17:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long 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(long long int)':
main.cpp:24:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long 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(long long 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 'long long int get(long long 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: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(int i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:81:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int j = 0; j < seg[x[i]].size(); j++) upd(seg[x[i]][j]);
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:83:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int j = 0; j < V[x[i]].size(); j++) ans += get(V[x[i]][j].f) * V[x[i]][j].s;
| ~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 659ms | 174403kb | Incorect | 0 |
2 | 371ms | 107741kb | Incorect | 0 |
3 | 183ms | 122748kb | Incorect | 0 |
4 | 19ms | 15560kb | Incorect | 0 |
5 | 14ms | 4751kb | Incorect | 0 |
6 | 614ms | 153378kb | Incorect | 0 |
7 | 54ms | 10936kb | Incorect | 0 |
8 | 723ms | 174792kb | Incorect | 0 |
9 | 302ms | 106344kb | OK | 4 |
10 | 198ms | 122585kb | Incorect | 0 |
11 | 19ms | 14282kb | Incorect | 0 |
12 | 14ms | 4751kb | Incorect | 0 |
13 | 689ms | 153817kb | Incorect | 0 |
14 | 59ms | 10883kb | Incorect | 0 |
15 | 585ms | 172736kb | Fisier de iesire incomplet! | 0 |
16 | 183ms | 55025kb | Incorect | 0 |
17 | 173ms | 121413kb | Fisier de iesire incomplet! | 0 |
18 | 14ms | 4489kb | Incorect | 0 |
19 | 14ms | 4489kb | Incorect | 0 |
20 | 555ms | 152031kb | Fisier de iesire incomplet! | 0 |
21 | 49ms | 10989kb | Incorect | 0 |
22 | 342ms | 106090kb | OK | 5 |
23 | 24ms | 7192kb | Incorect | 0 |
24 | 212ms | 69218kb | OK | 5 |
Punctaj total | 14 |