- Owner
- Luka Govedic̆
- Problem
- Odd
- Source
- 0.58KB
- Result
- Compile error (Non-zero exit status: 1)
Compiler output
prog.cpp: In function 'int main(int, char**)': prog.cpp:33:48: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'int' to binary 'operator%' int digit = (iii / pow(10, jjj)) % 10; ^ prog.cpp: At global scope: prog.cpp:22:14: warning: unused parameter 'argc' [-Wunused-parameter] int main(int argc, char** argv) { ^ prog.cpp:22:27: warning: unused parameter 'argv' [-Wunused-parameter] int main(int argc, char** argv) { ^