Borderou de evaluare (job #2530535)
Utilizator | Data | 24 ianuarie 2020 21:47:49 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:23: error: operands to ?: have different types 'bool' and 'std::basic_ostream<char>'
fout << gcd(a, b) ? gcd(a, b) != 1 : fout << 0;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !