得分(Score, ACM/ICPC Seoul 2005, UVa1585)
来源:互联网 发布:讲诚信 知礼仪 编辑:程序博客网 时间:2024/06/11 00:06
#include <stdio.h>#include <string.h>int main(){char s[81],k=0,sum=0;gets(s);int len = strlen(s);int i=0;for(;i<len;){while(1){if(s[i] == 'o'){k++;i++;}else{i++;break;}}while(k>0){sum+=k;k--;}}printf("%d",sum);return 0;}
0 0
- 得分 (Score, ACM/ICPC Seoul 2005, UVa1585)
- 得分(Score, ACM/ICPC Seoul 2005, UVa1585)
- 得分(Score,ACM/ICPC Seoul 2005,UVa1585)
- Score,ACM/ICPC Seoul 2005,UVa1585
- [Score, ACM/ICPC Seoul 2005, UVA1585]
- 得分(Sorce,ACM/ICPC Seoul 2005,Uva1585)
- 得分(Score, ACM/ICPC Seoul 2005, UVa 1585)
- 习题3-1 得分(Score, ACM/ICPC Seoul 2005, UVa 1585)
- 得分(Score,UVa1585)
- Score, ACM/ICPC Seoul 2005, UVa 1585
- 得分SCORE UVA1585
- UVA1585 得分score
- 生成元(Digit Generator,ACM/ICPC Seoul 2005, UVa1583)
- 生成元(Digit Generator, ACM/ICPC Seoul 2005, UVa1583)
- 生成元(Digit Generator, ACM/ICPC Seoul 2005, UVa1583)
- Digit Generator, ACM/ICPC Seoul 2005, UVa1583
- [Digit Generator, ACM/ICPC Seoul 2005, UVA1583]
- Score(模拟)uva1585
- 错误记录--“==”与“=”错误
- react-native环境搭建
- 在开发板(JZ2440)里启动内核出现了--Bad Data CRC
- 压力测试
- hdu 1969 Pie
- 得分(Score, ACM/ICPC Seoul 2005, UVa1585)
- KVM学习笔记
- eclipse导入tomcat run as 没有server
- 今年暑假不AC
- PAT_乙级1031
- 203Remove Linked List Elements
- zoj3497 Mistwald (矩阵快速幂+图论)
- Unity开发中总结的一些小技巧
- 好用的截图方法