Submission #14262

#TimeUsernameProblemLanguageResultExecution timeMemory
14262khsoo01그릇 (KOI13_bowl)C++98
16 / 16
0 ms1716 KiB
#import<iostream> char a[99];int i=1,s=10;main(){std::cin>>a;for(;a[i]=='('||a[i]==')';i++){if(a[i-1]==a[i])s+=5;else s+=10;}std::cout<<s;}
#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...