Problem removalcosts
User awesomeyy22
Submission Time 2022-12-28 17:00:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

removalcosts.cpp:3:1: error: ‘typdef’ does not name a type; did you mean ‘typeof’?
3 | typdef long long ll;
| ^~~~~~
| typeof
removalcosts.cpp: In function ‘int main()’:
removalcosts.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll mod = 998244353;
| ^~
removalcosts.cpp:9:5: error: expected ‘;’ before ‘n’
9 | ll n, sum = 0;
| ^~
| ;
removalcosts.cpp:10:10: error: ‘n’ was not declared in this scope
10 | cin >> n;
| ^
removalcosts.cpp:11:9: error: expected ‘;’ before ‘i’
11 | for(ll i = 1; i <= n; i++){
| ^~
| ;
removalcosts.cpp:12:6: error: expected ‘;’ before ‘x’
12 | ll x;
| ^~
| ;
removalcosts.cpp:13:11: error: ‘x’ was not declared in this scope
13 | cin >> x;
| ^
removalcosts.cpp:14:14: error: ‘sum’ was not declared in this sco