Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int n,m,w[25];
- struct pr
- {
- char x;
- int y;
- }
- v[105];
- int main()
- {
- cin>>n>>m;
- for(int i=1; i<=m; i++)
- cin>>v[i].x>>v[i].y;
- for(int i=1; i<=m; i++)
- w[v[i].y]++;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement