hdu 2537
摘要:地址:http://acm.hdu.edu.cn/showproblem.php?pid=2537题意:打台球,一人一次机会(明显不符合实际。。。)mark:扫描一遍~代码:#include <stdio.h>int main(){ int t,i,r,y,f; char a[20]; while(scanf("%d", &t), t) { scanf("%s", a); r = y = 7; for(i = f = 0; a[i]; i++) { if(a[i] == 'R') r--; ...
阅读全文
posted @ 2012-06-30 19:51
浙公网安备 33010602011771号