Submission #1151

#TimeUsernameProblemLanguageResultExecution timeMemory
1151kriii그릇 (KOI13_bowl)C++98
16 / 16
0 ms884 KiB
#include <stdio.h> char S[55]; int ans; int main() { int i; scanf ("%s",S+1); for (i=1;S[i];i++){ if (S[i] != S[i-1]) ans += 10; else ans += 5; } printf ("%d",ans); 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...