摘要: 思路:最后未被击败的选手数是否为1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 int main() 6 { 7 int i, j, n, score[1001], number; 8 char name[1001][100], a[1000], b[1000]; 9 10 while( scanf( "%d", &n ) )11 {12 if( n == 0 )13 break;14 15 memset( na... 阅读全文
posted @ 2013-02-28 20:57 hacker_hzh 阅读(145) 评论(0) 推荐(0)