| Problem | platonic15 |
|---|---|
| User | AndyChen |
| Submission Time | 2026-11-04 11:01:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic15.cpp: In function ‘int main()’:
platonic15.cpp:13:18: error: expected primary-expression before ‘,’ token
13 | int number = , count = n;
| ^
platonic15.cpp:20:23: error: no post-increment operator for type
20 | count ++;
| ^~
platonic15.cpp:27:10: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
27 | cout << count;
| ~~~~~^~~~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from platonic15.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ost