| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 57328 | 陈思雨 | Bill | C++ | Accepted | 100 | 2 MS | 264 KB | 240 | 2022-08-05 12:29:04 |
#include<bits/stdc++.h> using namespace std; int n; map<string,int> t; int main(){ cin>>n; for(int i=1;i<=n;i++){ string a,b; cin>>a>>b; t[a]++,t[b]--; } printf("D %d\nG %d\nZ %d\n",t["D"],t["G"],t["Z"]); return 0; }