摘要:
#include<iostream> using namespace std; int n,m; int map[505][505]; void show(){//显示 for(int i=0;i<n*n;i++){ cout<<map[i/n][i%n]; if(i%n<n-1)cout<<" "
阅读全文
posted @ 2020-06-29 20:44
forwhat00
阅读(180)
推荐(0)
编辑
摘要:
#include<iostream> #include<cmath> using namespace std; int num,i,ii; int main(){ int a,is=-5; char arr[50005]; cin>>num; for(int j=0;j<num;j++){ cin>
阅读全文
posted @ 2020-03-28 13:41
forwhat00
阅读(132)
推荐(0)
编辑
摘要:
#include<iostream> #include<cmath> #include<string> #include<stdlib.h> #include <algorithm> using namespace std; int num,i,ii; int main(){ int n,a; ch
阅读全文
posted @ 2020-03-28 13:37
forwhat00
阅读(115)
推荐(0)
编辑
摘要:
#include<iostream> using namespace std; int n,i,ii; int main(){ int a,b; cin>>n; for(int j=0;j<n;j++){ cin>>a>>b; if(a%b==0)//如果a直接就能整除b则直接输出0 cout<<0
阅读全文
posted @ 2020-03-28 13:27
forwhat00
阅读(84)
推荐(0)
编辑