Problem platonic12
User lykieutrang
Submission Time 2025-12-08 11:57:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic12.cpp: In function ‘int main()’:
platonic12.cpp:60:51: error: expected ‘;’ before ‘t2’
60 | if (vec[1] == 1) t1 = true; else t2 =1.215 t2 = true;
| ^~~
| ;
platonic12.cpp:107:28: error: ‘maxc1’ was not declared in this scope
107 | cout << (1+N)*N/2 + (1+maxc1)*maxc1/2 + (1+maxc2)*maxc2/2;
| ^~~~~
platonic12.cpp:107:48: error: ‘maxc2’ was not declared in this scope
107 | cout << (1+N)*N/2 + (1+maxc1)*maxc1/2 + (1+maxc2)*maxc2/2;
| ^~~~~