Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
88946 sh25_wuyy 候选人得票统计 C++ 通过 0 MS 248 KB 319 2026-05-22 14:24:08

Tests(1/1):


#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; }


测评信息: