Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
89815 sh25_shengmy 候选人得票统计 C++ Accepted 0 MS 252 KB 325 2026-06-05 14:53:09

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


Judgement Protocol: