Pagini recente » Borderou de evaluare (job #1313387) | Borderou de evaluare (job #2538770) | Borderou de evaluare (job #2693614) | Borderou de evaluare (job #1876875) | Borderou de evaluare (job #3121353)
Borderou de evaluare (job #3121353)
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:64: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]
64 | for(int i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:83: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]
83 | for(int j = 0; j < seg[x[i]].size(); j++) upd(seg[x[i]][j]);
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:85: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]
85 | 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 | 386ms | 110919kb | Incorect | 0 |
| 2 | 188ms | 66781kb | OK | 4 |
| 3 | 113ms | 80572kb | Incorect | 0 |
| 4 | 14ms | 8421kb | Incorect | 0 |
| 5 | 14ms | 2129kb | Incorect | 0 |
| 6 | 401ms | 98246kb | Incorect | 0 |
| 7 | 39ms | 7979kb | Incorect | 0 |
| 8 | 391ms | 110579kb | Incorect | 0 |
| 9 | 183ms | 66441kb | OK | 4 |
| 10 | 108ms | 80072kb | Incorect | 0 |
| 11 | 14ms | 8159kb | Incorect | 0 |
| 12 | 14ms | 2129kb | Incorect | 0 |
| 13 | 401ms | 97894kb | Incorect | 0 |
| 14 | 39ms | 7962kb | Incorect | 0 |
| 15 | 391ms | 110575kb | Incorect | 0 |
| 16 | 163ms | 41365kb | Incorect | 0 |
| 17 | 113ms | 79982kb | Incorect | 0 |
| 18 | 14ms | 4411kb | Incorect | 0 |
| 19 | 14ms | 2134kb | Incorect | 0 |
| 20 | 401ms | 97861kb | Incorect | 0 |
| 21 | 39ms | 8003kb | Incorect | 0 |
| 22 | 272ms | 68595kb | OK | 5 |
| 23 | 24ms | 4341kb | Incorect | 0 |
| 24 | 183ms | 50577kb | OK | 5 |
| Punctaj total | 18 |