2019年3月21日

HDU1262-寻找素数对

摘要: 1 //#include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int zhishu(int x){ 9 if(x==2||x==3){ 10 return 1; 11 } 12 else{ 13 in... 阅读全文
posted @ 2019-03-21 14:48 孤笑 阅读(340) 评论(0) 推荐(0) 编辑

HDU1263水果

摘要: 1 //#include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int main(){ 8 int N; 9 scanf("%d",&N); 10 while(N--){ 11 int M; 12 scanf("%d",&M... 阅读全文
posted @ 2019-03-21 14:10 孤笑 阅读(109) 评论(0) 推荐(0) 编辑