作用: Calculates x raised to the power of y. 函数原型: double pow( double x, double y ); Required Header: <math.h> Compatibility: ANSI Return Value pow returns the value of x y x^{y} xy. No error message is printed on overflow or underflow. Paramete…
题目提供者洛谷
难度NOI/NOI/CTSC
历史分数100
题目描述
跳蚤国王和蛐蛐国王在玩一个游戏。
他们在一个 n 行 m 列的网格上排兵布阵。其中的 cc 个格子中 (0 ≤ c ≤ n⋅m),每个格子有一只蛐蛐,其余的格子中,每个格子有一只跳蚤。
我们…