Problem platonic3
User jcoder12345
Submission Time 2025-06-19 11:08:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic3.cpp: In function ‘int main()’:
platonic3.cpp:11:9: error: ‘x’ was not declared in this scope
11 | if (x == 0) {
| ^
platonic3.cpp:12:13: error: ‘digits’ was not declared in this scope
12 | digits = 1;
| ^~~~~~
platonic3.cpp:14:20: error: ‘temp’ was not declared in this scope
14 | while (temp > 0) {
| ^~~~
platonic3.cpp:15:17: error: ‘digits’ was not declared in this scope
15 | digits++;
| ^~~~~~
platonic3.cpp:20:22: error: ‘x’ was not declared in this scope
20 | int result = x;
| ^
platonic3.cpp:21:33: error: ‘digits’ was not declared in this scope
21 | for (int j = 0; j < 5 - digits; j++) {
| ^~~~~~