Problem solarstorm
User chenweilian
Submission Time 2023-12-10 16:45:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

solarstorm.cpp: In function ‘int main()’:
solarstorm.cpp:74:5: error: ‘pi’ was not declared in this scope; did you mean ‘pqi’?
74 | pi ans = {0, 0};
| ^~
| pqi
solarstorm.cpp:79:14: error: ‘j’ was not declared in this scope
79 | FORD(j, i - 1, 0) {
| ^
solarstorm.cpp:79:9: error: ‘FORD’ was not declared in this scope; did you mean ‘FOR’?
79 | FORD(j, i - 1, 0) {
| ^~~~
| FOR
solarstorm.cpp:98:19: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
98 | if(curr > ans.fr) {
| ^~~
| abs
solarstorm.cpp:103:26: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
103 | cout << 1 << endl << ans.sc + 1 << endl;
| ^~~
| abs