posters 时间限制:1000 ms | 内存限制:65535 KB 难度:6 描述 The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city council has finally de…
题目地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=1076 分析: <span style="font-size:18px;">#include <stdio.h> int main() { long long a[32][32]; int i,j; int m,n; a[0][0]=0; for (i=1;i<32;i++) { a[0][i]=1; a[i][0]=1; } for (i=1;i…
题目链接.http://acm.nyist.net/JudgeOnline/problem.php?pid=88 #include <stdio.h> /* //测试一下49999和50000,1000000,1000000000你会发现规律. //关键是9个0的那个超大数输出的必须要快,否则超时. */ int nunu(int a) { int i; int m=1; //a = a%50000; if (a>50000) a = a%50000+50000; for(i=2;i&l…