
搜索
heart as still water
working hard for tomorrow
展开
-
poj 1426 Find The Multiple
Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 49001 Accepted: 20448 Special JudgeDescriptionGiven a positive integer n, write a program to find out a nonzero multip...原创 2019-05-22 00:12:08 · 236 阅读 · 0 评论 -
hdu 1016 Prime Ring Problem
hdu 1016 Prime Ring Problem题目传送门简单搜索问题,这题只要每次判断填的数与前一次填的数相加不为素数,最后一个数则还要考虑与第一个数的和不为素数,这题我打表做的。比较简单#include <iostream>#include <cstring>#include <cstdio>using namespace std;i...原创 2019-05-22 21:04:01 · 320 阅读 · 0 评论