摘要:
地址:http://hustoj.sinaapp.com/problem.php?id=1817一开始理解错题意,纠结好半天也不难,用最笨的办法,循环嵌套,一遍遍比对得出答案 1 #include <stdio.h> 2 #include <string.h> 3 4 char name[10][15]; 5 int gift[10][2],result[10]; 6 int n;//人数 7 8 int main() 9 {10 int i=0,j=0,k=0,l=0;11 char in[15];12 scanf("%d",&n);13 阅读全文
posted @ 2013-01-15 00:38
tjsuhst
阅读(402)
评论(0)
推荐(0)

浙公网安备 33010602011771号