90分求大佬帮忙

P5315 头像上传

想拥有更好的表现?使用 [Markdown](https://www.luogu.org/wiki/show?name=%E5%B8%AE%E5%8A%A9%EF%BC%9Amarkdown)
by 薇草王不留行 @ 2019-06-13 19:01:29


希望更丰富的展现?使用Markdown
by 言和YanHe @ 2019-06-13 19:03:35


``` include<bits/stdc++.h> using namespace std; int main() { double a,b,c,d,e; cin>>a>>b>>c; for (int f=1;f<=a;f++) { cin>>d>>e; while (1) { if(d<b||e<b) { cout<<"Too Young"<<endl; break; } else if (d>c||e>c) { d/=2; d=1; e/=2; e=1; cout<<e; } else if(b<d<c||b<e<c) { if (d==e) { cout<<"Sometimes Naive"<<endl; break; } else { cout<<"Too Simple"<<endl; break; } } } } } ```
by sycqwq @ 2019-06-13 19:40:39


撞头像了,尴尬
by shierjie @ 2019-06-13 19:47:29


``` else if (d>c||e>c) { d/=2; d=1; e/=2; e=1; cout<<e; } ``` ? cout<<e; 你确定你没搞错?
by 时间圣使·凡 @ 2019-06-30 15:15:31


###### 呀胡 ## @[蒋中翼](/space/show?uid=150125) ### 我把你代码改AC了不用谢我,拜拜。 ``` #include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d,e; cin>>a>>b>>c; for (int f=1;f<=a;f++) { cin>>d>>e; while(1){ if (d>c||e>c){d/=2;e/=2;} else if(d<b||e<b){cout<<"Too Young"<<endl;break;} else if(d!=e){cout<<"Too Simple"<<endl; break;} else {cout<<"Sometimes Naive"<<endl;break;} } } return 0; } ```
by 时间圣使·凡 @ 2019-06-30 15:26:45


ORZ
by 锦瑟,华年 @ 2019-11-01 21:31:08


@[shierjie](/user/146420) 不一样,有水印
by A宋锦瑞A @ 2021-07-20 14:31:12


|