Problem stamps
User vs358
Submission Time 2023-12-12 11:08:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stamps.cpp:23:1: error: expected initializer before ‘typedef’
23 | typedef pair<pi, int> pii;
| ^~~~~~~
stamps.cpp:29:1: error: ‘pi’ does not name a type; did you mean ‘fi’?
29 | pi dp[103][10003];
| ^~
| fi
stamps.cpp:32:1: error: ‘pi’ does not name a type; did you mean ‘fi’?
32 | pi merge(pi a, pi b){
| ^~
| fi
stamps.cpp: In function ‘int main()’:
stamps.cpp:42:8: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
42 | fill(&dp[0][0], &dp[0][0] + sizeof(dp)/sizeof(dp[0][0]), mp(0, 0));
| ^~
| mp