| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 46408 | 杨中琦 | 夏令营小旗手 | C++ | Accepted | 100 | 0 MS | 252 KB | 176 | 2022-07-13 13:05:24 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[20]={ }; int m=0; cin>>a; for(int i=0;i<strlen(a);i++){ m+=int(a[i]); } cout<<m; return 0; }