Borderou de evaluare (job #2967153)
Utilizator | Data | 19 ianuarie 2023 08:47:26 | |
---|---|---|---|
Problema | Eliminare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:12: error: ISO C++ forbids declaration of 'lsb' with no type [-fpermissive]
11 | inline lsb(int x){
| ^~~
main.cpp:26:2: error: 'AIB index' redeclared as different kind of entity
26 | }index;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48,
from main.cpp:1:
/usr/include/strings.h:61:1: note: previous declaration 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:70:47: error: overloaded function with no contextual type information
70 | int pos_max=maxim.query(1,1,n,l+index.Query(l),r+index.Query(r)).second;
| ^~~~~
main.cpp:70:64: error: overloaded function with no contextual type information
70 | int pos_max=maxim.query(1,1,n,l+index.Query(l),r+index.Query(r)).second;
| ^~~~~
main.cpp:72:15: error: overloaded function with no contextual type information
72 | index.Update(pos_max,1);
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !