
数学
井中月_笼中雀
acmer
展开
-
Codeforce Problem 1436C - Binary Search -binary search, combinatorics
C. Binary Searchtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrey thinks he is truly a successful developer, but in reality he didn’t know about the binary search algorithm until recently. Afte原创 2020-10-25 10:36:06 · 332 阅读 · 0 评论 -
Codeforce Problem 1436B Square//constructive algorithms, math
B. Prime Squaretime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSasha likes investigating different math objects, for example, magic squares. But Sasha understands that magic squares have already原创 2020-10-25 10:12:02 · 209 阅读 · 0 评论 -
Codeforce Problem 1436A Recorder 数学
A. Reordertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor a given array a consisting of n integers and a given integer m find if it is possible to reorder elements of the array a in such a way t原创 2020-10-25 10:07:30 · 238 阅读 · 0 评论 -
Fibsieve`s Fantabulous Birthday LightOJ - 1008 数学
Fibsieve had a fantabulous (yes, it’s an actual word) birthday party this year. He had so many gifts that he was actually thinking of not having a party next year.Among these gifts there was an N x N glass chessboard that had a light in each of its cells.原创 2020-10-22 19:20:23 · 209 阅读 · 0 评论