Submission #7834

# Submission time Handle Problem Language Result Execution time Memory
7834 2014-08-19T10:58:41 Z gs13068 그릇 (KOI13_bowl) C++
0 / 16
0 ms 1088 KB
#include<cstdio>

char str[100];

int main()
{
  int i,s=10;
  scanf("%s",str);
  for(i=0;str[i];i++)
  {
    s+=5;
    if(str[i]!=str[i-1])s+=5;
  }
  printf("%d",s);
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -