Borderou de evaluare (job #2734040)
Utilizator | Data | 31 martie 2021 12:03:35 | |
---|---|---|---|
Problema | Trans | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:0: warning: ignoring #pragma GCC option [-Wunknown-pragmas]
#pragma GCC option("arch=native","tune=native","no-zero-upper")
main.cpp:52:12: error: 'InParser& InParser::operator>>(long long int&)' cannot be overloaded
InParser& operator >> (long long &n) {
^~~~~~~~
main.cpp:35:12: error: with 'InParser& InParser::operator>>(long long int&)'
InParser& operator >> (int &n) {
^~~~~~~~
main.cpp:110:16: error: 'OutParser& OutParser::operator<<(long long int)' cannot be overloaded
OutParser& operator << (long long vu64) {
^~~~~~~~
main.cpp:100:16: error: with 'OutParser& OutParser::operator<<(long long int)'
OutParser& operator << (int vu32) {
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:195:13: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'int')
out << precalculare(k, taxa) << "\n";
~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:100:16: note: candidate: OutParser& OutParser::operator<<(long long int)
OutParser& operator << (int vu32) {
^~~~~~~~
main.cpp:120:16: note: candidate: OutParser& OutParser::operator<<(char)
OutParser& operator << (char ch) {
^~~~~~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:23:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 4096, fin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !