ACM:素数线性筛法(素数打表)
通过一道题来讲一下素数筛法。 (我理解的素数筛法。。不一定对) 原题: https://vjudge.net/contest/205544#problem/H 题目在文章末尾。 在此之前可以先看一篇博客,原文的地址不知道为啥打不开了..网...
通过一道题来讲一下素数筛法。 (我理解的素数筛法。。不一定对) 原题: https://vjudge.net/contest/205544#problem/H 题目在文章末尾。 在此之前可以先看一篇博客,原文的地址不知道为啥打不开了..网...
有碰到STL类型的题,就看了下关于STL的视频,粗略学习了下C++以及STL的用法... 以前从没用过C++也没看过和C++相关的知识,所以很多地方还是保持的C代码的风格..很多时候scanf和printf都改不过来... 但是用STL真的...
A frog has just learned some number theory, and can't wait to show his ability to his girlfriend. Now the frog is sittin...
Ignatius and the Princess IV "OK, you are not too bad, em... But you can never pass the next test." feng5166 s...
HDU 1005 Number Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submi...
题目链接点这里 No More Tic-tac-toe Problem Description Alice was bored with the game tic-tac-toe. Usually she used to play agai...
题目链接点击这里 Problem Description It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which s...