Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
74614 陶俊宸 夏令营小旗手 C++ Accepted 100 0 MS 192 KB 175 2023-05-27 16:45:35

Tests(10/10):


#include<cstdio> #include<cstring> char s[50]; int n,len; int main(){ scanf("%s",&s); len=strlen(s); for(int i=0;i<len;i++) n+=s[i]; printf("%d",n); return 0; }


Judgement Protocol: