数学
井中月_笼中雀
acmer
展开
-
Codeforce Problem 1436C - Binary Search -binary search, combinatorics
C. Binary Search time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Andrey 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 · 224 阅读 · 0 评论 -
Codeforce Problem 1436B Square//constructive algorithms, math
B. Prime Square time limit per test1.5 seconds memory limit per test256 megabytes inputstandard input outputstandard output Sasha likes investigating different math objects, for example, magic squares. But Sasha understands that magic squares have already原创 2020-10-25 10:12:02 · 157 阅读 · 0 评论 -
Codeforce Problem 1436A Recorder 数学
A. Reorder time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output For 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 · 176 阅读 · 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 · 166 阅读 · 0 评论