| Problem | platonic9 |
|---|---|
| User | CZHT |
| Submission Time | 2026-04-18 09:44:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic9.cpp: In function ‘int main()’:
platonic9.cpp:9:24: error: expected ‘;’ before ‘)’ token
9 | for (int i=0; i<n, i++) {
| ^
| ;
platonic9.cpp:10:14: error: expected ‘;’ before ‘}’ token
10 | cin >> a[i]
| ^
| ;
11 | }
| ~
platonic9.cpp:15:9: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘int’)
15 | cout >> a[count + 1];
| ~~~~ ^~ ~~~~~~~~~~~~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
platonic9.cpp:15:9: note: candidate: ‘operator>>(int, int)’ <built-in>
15 | cout >> a[count + 1];
| ~~~~~^~~~~~~~~~~~~~~
platonic9.cpp:15:9: note: no known conversion for argument 1 from ‘std::os