抱歉,您的浏览器无法访问本站
本页面需要浏览器支持(启用)JavaScript
了解详情 >

传送门

你们搞的这个题目啊,exciting\rm exciting

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <bits/stdc++.h>
using namespace std;
inline int read(){
int x=0,f=1;
char ch=getchar();
while (ch<'0'||ch>'9'){
if (ch=='-') f=-1;
ch=getchar();
}
while (ch>='0'&&ch<='9'){
x=(x<<1)+(x<<3)+(ch^'0');
ch=getchar();
}
return x*f;
}
int main(){
int n=read(),L=read(),G=read();
while (n--){
int w=read(),h=read();
while (w>G||h>G){
w>>=1,h>>=1;
}
if (w<L||h<L) puts("Too Young");
else if (w!=h) puts("Too Simple");
else puts("Sometimes Naive");
}
}

评论