Problem area_noi
User TDSHSalvador
Submission Time 2023-12-30 22:16:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll a, b, c;
| ^~
area_noi.cpp:6:4: error: expected ‘;’ before ‘greater’
6 | ll greater = 0;
| ^~~~~~~~
| ;
area_noi.cpp:7:4: error: expected ‘;’ before ‘w’
7 | ll w[1000005], l[1000005];
| ^~
| ;
area_noi.cpp:8:9: error: ‘a’ was not declared in this scope
8 | cin >> a;
| ^
area_noi.cpp:10:10: error: ‘w’ was not declared in this scope
10 | cin >> w[i] >> l[i];
| ^
area_noi.cpp:10:18: error: ‘l’ was not declared in this scope
10 | cin >> w[i] >> l[i];
| ^
area_noi.cpp:11:3: error: ‘b’ was not declared in this scope
11 | b = w[i] * l[i];
| ^
area_noi.cpp:12:17: error: missing template arguments before ‘)’