0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +00:00

P5315 头像上传

https://www.luogu.com.cn/record/76399456
This commit is contained in:
Baoshuo Ren 2022-05-26 08:44:13 +08:00
parent 10da66c8fe
commit 95655eb234
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

29
Luogu/P5315/P5315.cpp Normal file
View File

@ -0,0 +1,29 @@
#include <iostream>
using std::cin;
using std::cout;
const char endl = '\n';
int n, l, g;
int main() {
std::ios::sync_with_stdio(false);
cin >> n >> l >> g;
for (int i = 1, w, h; i <= n; i++) {
cin >> w >> h;
while (w > g || h > g) w >>= 1, h >>= 1;
if (w < l || h < l) {
cout << "Too Young" << endl;
} else if (w == h) {
cout << "Sometimes Naive" << endl;
} else {
cout << "Too Simple" << endl;
}
}
return 0;
}