Submission #16241

#TimeUsernameProblemLanguageResultExecution timeMemory
16241eaststar그릇 (KOI13_bowl)C++14
16 / 16
0 ms1084 KiB
#include <stdio.h> #include <string.h> char c[60]; int main(){ int i,n,s; scanf("%s",c); n=strlen(c); s=n*10; for(i=1;i<n;++i)if(c[i-1]==c[i])s-=5; printf("%d",s); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...