Problem | coinbag |
---|---|
User | bakchormee |
Submission Time | 2024-05-23 19:28:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
coinbag.cpp:1:2: error: stray ‘#’ in program
1 | i#include <bits/stdc++.h>
| ^
coinbag.cpp:1:1: error: ‘i’ does not name a type
1 | i#include <bits/stdc++.h>
| ^
coinbag.cpp: In function ‘int main()’:
coinbag.cpp:7:2: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
coinbag.cpp:8:2: error: ‘cin’ was not declared in this scope
8 | cin.tie(0);
| ^~~
coinbag.cpp:10:2: error: ‘pair’ was not declared in this scope
10 | pair<ll, ll> coins[n+1];
| ^~~~
coinbag.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long
| ^~~~
coinbag.cpp:10:7: note: in expansion of macro ‘ll’
10 | pair<ll, ll> coins[n+1];
| ^~
coinbag.cpp:13:3: error: ‘coins’ was not declared in this scope
13 | coins[i] = nake_pair(w, v);
| ^~~~~
coinbag.cpp:13:14: