# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
2261 | 2013-07-21T00:26:24 Z | sebin | 그릇 (KOI13_bowl) | C++ | 0 ms | 0 KB |
#include<stdio.h> #include<string.h> int main() { char d[51]; int i,sum=0; scanf("%s",d); for(i=0;i<strlen(d);i++){ sum+=d[j]!=d[i]; sum+=1; } printf("%d\n",sum*5); return 0; }