摘要:
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2371View Code 1 #include <iostream> 2 #include<cstdio> 3 using namespace std; 4 long int a[1005][1005]; 5 int main() 6 { 7 int n,flag,i,j; 8 while(~scanf("%d",&n)) 9 {10 if(n==0)11 break;12 fo... 阅读全文