Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5380 陶俊宸 数字游戏(number) C++ 通过 100 0 MS 256 KB 174 2020-08-01 17:53:58

Tests(20/20):


#include<bits/stdc++.h> using namespace std; int main(){ int ans=0; string zo01; cin>>zo01; for(int i=0;i<8;i++) if(zo01[i]=='1') ans++; cout<<ans; return 0; }


测评信息: