摘要:
m与n互质即可:http://acm.hdu.edu.cn/showproblem.php?pid=1222 阅读全文
posted @ 2011-04-01 21:38
聊聊IT那些事
阅读(214)
评论(0)
推荐(0)
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2707View Code #include"iostream"#include"math.h"using namespace std;int main(){ char ch[101]; int a[1000]; int b[100]; int i,j; while(1) { int s=0; while(gets(ch)) { if(strcmp(ch,"*")==0) break; if(strcmp(ch,"#")==0) b 阅读全文
posted @ 2011-04-01 20:32
聊聊IT那些事
阅读(296)
评论(0)
推荐(0)