| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 81232 | sh25_zhangyy | 候选人得票统计 | C++ | Accepted | 0 MS | 240 KB | 384 | 2026-01-04 15:42:37 |
#include <iostream> #include <unordered_map> using namespace std; int main() { unordered_map<string, int> votes; string name; for (int i = 0; i < 10; ++i) { cin >> name; votes[name]++; } cout << "Li:" << votes["Li"] << endl; cout << "Zhang:" << votes["Zhang"] << endl; cout << "Fun:" << votes["Fun"] << endl; return 0; }