10 2011 档案
摘要:1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<string.h> 4 #define MAX 90000000 5 6 int count = 0; 7 char name[201][40]; 8 int find(char *a) //此函数实现将字符串转化为数字,剽窃党姐的呵呵>_< 9 { 10 int i; 11 for( i = 1; i <= count; i++ ) 12 if( strcmp(a,name[i]) == 0 ) 13 retur...
阅读全文
摘要:1 #include<stdio.h> 2 #include <string.h> 3 4 int main() 5 { 6 int t=0, a, b, l, n, m, i, j, k, now, maxs, x, y; 7 int cost[501][501], dist[501], s[501]; 8 float time, temp; 9 10 while(scanf("%d%d", &n, &m), n) 11 { 12 for(a=1; a<=n; a++)...
阅读全文

浙公网安备 33010602011771号