poj 2065
摘要:
#include<iostream>#include<fstream>#include<cmath>using namespace std;int n,m,p;int map[74][74];int find(int s,int t){ s=(s%p+p)%p; t=(t%p+p)%p; for(int i=0;i<p;i++) if((i*t)%p==s) return i;}void solve(){ int i,j,k,s,t,a,b; j=0; for(i=0;i<n&&j<m;i++,j++) { s=0;t=0; 阅读全文
posted @ 2011-06-02 11:06 宇宙吾心 阅读(242) 评论(0) 推荐(0)
浙公网安备 33010602011771号