| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79771 | sh25_zhuwy | 候选人得票统计 | C++ | 通过 | 0 MS | 248 KB | 328 | 2026-01-04 14:42:23 |
#include<bits/stdc++.h> using namespace std; int main(){ int x=0,y=0,z=0; string s; for(int i=1;i<=10;++i){ cin>>s; if(s[0]=='L') ++x; else if(s[0]=='F') ++y; else ++z; } cout<<"Li:"<<x<<endl; cout<<"Zhang:"<<z<<endl; cout<<"Fun:"<<y; return 0; }