洛谷P1579 哥德巴赫猜测(升级版)

这道题其实比较简单,主要就是注意2点 1.如何求一个数是否为质数 2.当遇到减法是必定要注意是否会出现负数,出现负数是否会影响到整个流程ios 贴上本身写的代码:`web #include <iostream> /* run this program using the console pauser or add your own getch, system("pause") or input l
相关文章
相关标签/搜索