| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 74501 | 董承诺 | 夏令营小旗手 | C++ | Accepted | 100 | 0 MS | 256 KB | 172 | 2023-05-27 13:56:37 |
#include<bits/stdc++.h> using namespace std; string a; int b,c; int main(){ cin>>a; b=a.size()-1; for(int i=0;i<=b;i++){ c+=a[i]; } cout<<c; return 0; }