Borderou de evaluare (job #2675347)
Utilizator | Data | 21 noiembrie 2020 14:23:50 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:37:6: error: 'bitset' in namespace 'std' does not name a template type
std::bitset<1 + maxn> bad ;
^~~~~~
main.cpp: In function 'int main(int, const char**)':
main.cpp:59:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < strings.size() ; ++ i) {
~~^~~~~~~~~~~~~~~~
main.cpp:60:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i + 1 ; j < strings.size() ; ++ j) {
~~^~~~~~~~~~~~~~~~
main.cpp:62:5: error: 'bad' was not declared in this scope
bad[strings[i].initialPosition] = 1 ;
^~~
main.cpp:72:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < strings.size() ; ++ i) {
~~^~~~~~~~~~~~~~~~
main.cpp:73:8: error: 'bad' was not declared in this scope
if (!bad[strings[i].initialPosition]) {
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !