| Problem | platonic12 |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-09-16 20:27:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic12.cpp: In function ‘bool f(long long int, long long int, long long int)’:
platonic12.cpp:5:18: error: ‘total’ was not declared in this scope
5 | return (double) total / length == n / (double length);
| ^~~~~
platonic12.cpp:5:41: error: expected primary-expression before ‘double’
5 | return (double) total / length == n / (double length);
| ^~~~~~
platonic12.cpp:5:41: error: expected ‘)’ before ‘double’
5 | return (double) total / length == n / (double length);
| ~^~~~~~
| )
platonic12.cpp: In function ‘int32_t main()’:
platonic12.cpp:14:7: error: ‘i’ was not declared in this scope
14 | for (i = 0; i < n; i++) cin >> a[i];
| ^
platonic12.cpp:19:8: error: ‘i’ was not declared in this scope
19 | for (i = 0; i < length; i++) total