| Problem | twochoices |
|---|---|
| User | carson |
| Submission Time | 2025-12-09 12:23:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
twochoices.cpp:6:35: error: expected ‘)’ before ‘;’ token
6 | vector<ll> a(maxn,vector<ll>(maxm);
| ~ ^
| )
twochoices.cpp: In function ‘int main()’:
twochoices.cpp:18:17: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript
18 | cin >> a[i][j];
| ^
twochoices.cpp:25:13: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript
25 | if(a[i][j] == answers[j]){
| ^
twochoices.cpp:26:13: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[long long int]’ for array subscript
26 | a[i][m+1] ++;