Problem construct
User bakchormee
Submission Time 2024-05-27 07:30:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

construct.cpp: In function ‘int main()’:
construct.cpp:11:24: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
11 | vector<vector<ll> >dp(n, vector<ll>(m, 0));
| ^
| yn
construct.cpp:11:38: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
11 | vector<vector<ll> >dp(n, vector<ll>(m, 0));
| ^
| tm
construct.cpp:17:8: error: conflicting declaration ‘auto b’
17 | list[b].push_back(a);
| ^
construct.cpp:16:9: note: previous declaration as ‘long long int b’
16 | ll a, b; cin >> a >> b;
| ^
construct.cpp:17:10: error: expected initializer before ‘.’ token
17 | list[b].push_back(a);
| ^
construct.cpp:25:12: error: expected unqualified-id before ‘[’ token
25