Submission #4270

#TimeUsernameProblemLanguageResultExecution timeMemory
4270joonas그릇 (KOI13_bowl)C++98
16 / 16
0 ms1088 KiB
#include <stdio.h> #include <string.h> int main(){ char bowls[51]; scanf("%s", bowls); int i=1, high=10; for(; i < strlen(bowls); ++i){ if( bowls[i-1] != bowls[i] ) high += 10; else high += 5; } printf("%d\n", high); 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...