Borderou de evaluare (job #3284808)
| Utilizator | Data | 12 martie 2025 11:00:03 | |
|---|---|---|---|
| Problema | Infinitywar | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void AfisInterclasare(int, int)':
main.cpp:15:16: error: invalid types 'std::bitset<10005> [230][__gnu_cxx::__enable_if<true, double>::__type {aka double}]' for array subscript
15 | st = sp[sqrt(x)]; dr = sp[sqrt(y)];
| ^
main.cpp:15:34: error: invalid types 'std::bitset<10005> [230][__gnu_cxx::__enable_if<true, double>::__type {aka double}]' for array subscript
15 | st = sp[sqrt(x)]; dr = sp[sqrt(y)];
| ^
main.cpp:18:31: error: no match for 'operator^=' (operand types are 'std::bitset<10005>::reference' and 'int')
18 | st[e] ^= 1;
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:45,
from main.cpp:1:
/usr/include/c++/12.2.1/cstddef:166:3: note: candidate: 'constexpr std::byte& std::operator^=(byte&, byte)'
166 | operator^=(byte& __l, byte __r) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/cstddef:166:20: note: no known conversion for argument 1 from 'std::bitset<10005>::reference' to 'std::byte&'
166 | operator^=(byte& __l, byte __r) noexcept
| ~~~~~~^~~
In file included from /usr/include/c++/12.2.1/ios:42,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/sstream:38,
from /usr/include/c++/12.2.1/complex:45,
from /usr/include/c++/12.2.1/ccomplex:39,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54:
/usr/include/c++/12.2.1/bits/ios_base.h:107:3: note: candidate: 'const std::_Ios_Fmtflags& std::operator^=(_Ios_Fmtflags&, _Ios_Fmtflags)'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/ios_base.h:107:29: note: no known conversion for argument 1 from 'std::bitset<10005>::reference' to 'std::_Ios_Fmtflags&'
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/12.2.1/bits/ios_base.h:150:3: note: candidate: 'const std::_Ios_Openmode& std::operator^=(_Ios_Openmode&, _Ios_Openmode)'
150 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/ios_base.h:150:29: note: no known conversion for argument 1 from 'std::bitset<10005>::reference' to 'std::_Ios_Openmode&'
150 | operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
| ~~~~~~~~~~~~~~~^~~
/usr/include/c++/12.2.1/bits/ios_base.h:190:3: note: candidate: 'const std::_Ios_Iostate& std::operator^=(_Ios_Iostate&, _Ios_Iostate)'
190 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/ios_base.h:190:28: note: no known conversion for argument 1 from 'std::bitset<10005>::reference' to 'std::_Ios_Iostate&'
190 | operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:105:
/usr/include/c++/12.2.1/future:170:18: note: candidate: 'std::launch& std::operator^=(launch&, launch)'
170 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ^~~~~~~~
/usr/include/c++/12.2.1/future:170:37: note: no known conversion for argument 1 from 'std::bitset<10005>::reference' to 'std::launch&'
170 | inline launch& operator^=(launch& __x, launch __y) noexcept
| ~~~~~~~~^~~
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:127:
/usr/include/c++/12.2.1/charconv:648:3: note: candidate: 'constexpr std::chars_format& std::operator^=(chars_format&, chars_format)'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
