Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
47432 | 石利伟 | 夏令营小旗手 | C++ | Accepted | 100 | 0 MS | 260 KB | 182 | 2022-07-14 19:40:19 |
#include<bits/stdc++.h> using namespace std; int main(){ string a; int counter=0; cin>>a; for(int i=0;i<a.size();i++){ counter+=a[i]; } cout<<counter; return 0; }