竞赛
考级
繁杂の附魔:模拟 正解 我们只需判断 a÷2a\div2a÷2、b÷4b\div4b÷4 和 ccc 的结果最小值即可。 时间复杂度:O(T)O(T)O(T) 预计得分:100pts100pts100pts
MuktorFM
C.K.K.S.H
因为数据类型<=10^12,所以不能用int类型的变量
CEGO.tyx
#include <iostream> #include <algorithm> using namespace std; int main() { int T; cin >> T; while (T--) { long long a, b, c; cin >> a >> b >> c; long long m = min(a / 2, min(b / 4, c / 1)); cout << m << endl; } return 0; }
李承远