摘要:
B -Find The MultipleTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uDescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater than 200 and ther 阅读全文
摘要:
B -确定比赛名次Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription有N个比赛队(1 3 #include 4 const int N = 505; 5 6 bool g[N][N]; 7 int n, m,t,max = 1; 8 int main() 9 { int c[N];10 int i, x, y,j; 11 while(scanf("%d%d", &n, &m) != EOF) 12 { 13 memset(g, fal... 阅读全文