Submission #5248

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