QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#95899#1357. Stone Catch GameieeAC ✓65ms11356kbC++14562b2023-04-12 13:04:422023-04-12 13:04:43

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-04-12 13:04:43]
  • 评测
  • 测评结果:AC
  • 用时:65ms
  • 内存:11356kb
  • [2023-04-12 13:04:42]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define Win (cout << "Platina", exit(0))
#define Lose (cout << "Yuto", exit(0))
int main() {
	cin.tie(0)->sync_with_stdio(0);
	int n;
	cin >> n;
	vector<array<int, 2>> a(n), v1, v2;
	for (auto &it : a) {
		auto &[x, y] = it;
		cin >> x >> y;
		if (x == y) {
			Win;
		} else if (x > y) {
			v1.push_back(it);
		} else {
			v2.push_back(it);
		}
	}
	for (auto [x1, y1] : v1)
		for (auto [x2, y2] : v2)
			if (y1 + x2 >= max(x1 - x2 - 2, 0) + max(y2 - y1 - 2, 0))
				Win;
	Lose;
	return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 3432kb

input:

1
0 1

output:

Yuto

result:

ok single line: 'Yuto'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3440kb

input:

2
2 3
3 2

output:

Platina

result:

ok single line: 'Platina'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3400kb

input:

2
0 2
2 1

output:

Platina

result:

ok single line: 'Platina'

Test #4:

score: 0
Accepted
time: 64ms
memory: 8488kb

input:

300000
105343620 853579568
214571032 929774173
526508937 203084268
787836655 155689552
319177744 638481740
91870362 970268071
154026061 396775701
985134071 787861133
880171352 835674836
985088209 461246084
268228041 376043957
919135744 54699752
258156348 466227001
176168796 673342738
167076521 53473...

output:

Platina

result:

ok single line: 'Platina'

Test #5:

score: 0
Accepted
time: 56ms
memory: 8512kb

input:

300000
577568093 695932164
213641061 652324154
846819571 394150370
925068731 379009125
872448238 587384494
598447394 379653398
788298486 805126172
938960552 445023299
767759239 38295890
852858117 252748552
392283486 560581100
157538785 339510157
972877030 837472421
179510373 276465151
278224230 5509...

output:

Platina

result:

ok single line: 'Platina'

Test #6:

score: 0
Accepted
time: 54ms
memory: 8516kb

input:

300000
459857982 759623123
844114870 38437647
240759131 921652961
767333514 380990334
720686022 126221831
399991718 452602236
86134421 287105571
851317836 733589246
655347127 872320725
425660733 380687509
811306224 113714461
354472629 919287853
729066908 135088911
477819242 584620273
20775718 567091...

output:

Platina

result:

ok single line: 'Platina'

Test #7:

score: 0
Accepted
time: 40ms
memory: 8580kb

input:

300000
637115163 896943011
843184899 760987629
266102473 744122843
683227225 309342615
568923807 370091877
906568751 935616492
383970358 695456042
395078900 22155192
206498525 779974487
293430641 172189976
598925180 371880532
256439181 204098256
75191369 801301622
71095403 966404323
131923426 583269...

output:

Platina

result:

ok single line: 'Platina'

Test #8:

score: 0
Accepted
time: 50ms
memory: 8632kb

input:

300000
519405052 34262897
178691416 778504903
365074742 640221653
820459300 237694896
122194299 318994632
339516854 8565330
386839002 177435440
717501601 310721139
389053705 613999321
866233259 668725153
17947917 556417675
158405733 783875952
421315831 467514332
369404272 569526735
169442207 8944152...

output:

Platina

result:

ok single line: 'Platina'

Test #9:

score: 0
Accepted
time: 65ms
memory: 8540kb

input:

300000
991629525 466550076
809165225 501054885
759014304 167724242
736353012 166047177
675464792 562864678
141061178 417950657
684674938 585785911
261262665 599287086
940205104 153056863
734003167 91631401
436970654 109551037
691776067 437282576
767440293 470163532
667713141 582714565
985622624 9105...

output:

Platina

result:

ok single line: 'Platina'

Test #10:

score: 0
Accepted
time: 51ms
memory: 8508kb

input:

300000
873919414 308902672
808235254 182135669
79324936 990194125
578617795 94399458
523702577 101702015
647638210 490899496
982510875 772798019
583685366 256449252
827792992 355677918
306805783 883133870
561026100 957651691
593742619 17060271
818597463 136376242
260989301 259465906
23141404 5581758...

output:

Platina

result:

ok single line: 'Platina'

Test #11:

score: 0
Accepted
time: 50ms
memory: 8588kb

input:

300000
51176594 741189851
143741771 904685652
473264498 886292935
789478798 22751739
371940361 50604770
744149826 268881043
616783299 181148489
127446430 545015199
83977098 894735461
879608400 379669045
348645056 142188833
790676463 301870675
164721924 507621661
559298170 567621028
134289112 5743542...

output:

Platina

result:

ok single line: 'Platina'

Test #12:

score: 0
Accepted
time: 51ms
memory: 8552kb

input:

300000
933466484 509913518
847844508 922202926
867204059 413795525
631743582 951104021
925210855 294474816
250726857 46862589
209586526 663127888
81272911 833581146
266532278 392323806
747378308 507608002
767667794 400354904
692643016 881648371
510846386 173834371
857607039 875776150
245436820 59053...

output:

Platina

result:

ok single line: 'Platina'

Test #13:

score: 0
Accepted
time: 45ms
memory: 8652kb

input:

300000
816831400 153444689
817643458 331661743
496714048 759654409
980571374 703164999
940322561 66668528
259768851 570646522
391315407 698030383
734688358 383864211
686054958 537559198
429132819 611499366
702175773 942726251
10278880 565062083
277747292 436339374
33767561 675803116
456454889 209093...

output:

Platina

result:

ok single line: 'Platina'

Test #14:

score: 0
Accepted
time: 47ms
memory: 8568kb

input:

300000
289055872 922168358
448117266 349179017
595686317 287156999
486399668 631517280
788560345 15571282
61313175 53660777
689151343 474977073
983482131 672430158
868610138 445212961
296902727 108034542
194827437 127263393
912245434 144839778
623871754 144021281
627043722 688990946
199006378 225271...

output:

Platina

result:

ok single line: 'Platina'

Test #15:

score: 0
Accepted
time: 57ms
memory: 8612kb

input:

300000
171345761 59488244
152220003 71728998
621029659 478223101
33697160 559869561
636798130 259441329
567890207 126609615
323423767 293392960
600872123 960996105
124794244 279237795
164672635 530940791
613850175 680396755
150648474 798246402
969996216 810233993
925352591 997146068
310154086 241450...

output:

Platina

result:

ok single line: 'Platina'

Test #16:

score: 0
Accepted
time: 53ms
memory: 8588kb

input:

300000
53635650 491775423
782693812 89246272
309936511 5725690
244558163 488221842
895101331 503311375
369434531 904591163
916226995 70339651
849665896 954594760
307349424 818295338
442507960 732508676
32872911 233530117
52615026 378024097
21153385 476446703
223661460 968864700
52705574 183999644
72...

output:

Platina

result:

ok single line: 'Platina'

Test #17:

score: 0
Accepted
time: 60ms
memory: 8576kb

input:

300000
525860123 334128019
486796549 180392473
335279853 533228281
86822946 785170343
743339116 747181421
876011563 608943782
214062931 183722830
467055888 243160706
194937311 20916391
310277868 524011144
820491869 81630771
954581579 662834502
367277846 774063194
816937621 982052530
458820575 200178...

output:

Platina

result:

ok single line: 'Platina'

Test #18:

score: 0
Accepted
time: 57ms
memory: 8544kb

input:

300000
408150012 766415198
117270358 197909747
729219415 429327091
929087730 713522624
591576900 991051467
677555887 386925328
216931575 960669521
715849661 900322873
746088711 559973935
883080485 946917392
944547315 971200622
487951912 947644906
418435016 145308612
115246489 290207651
275000991 216...

output:

Platina

result:

ok single line: 'Platina'

Test #19:

score: 0
Accepted
time: 3ms
memory: 5784kb

input:

300000
530059023 530059023
810803826 810803826
144071879 144071879
891857534 891857534
570902383 570902383
955749480 955749480
525129735 525129735
378379862 378379862
340646085 340646085
845971056 845971056
93187778 93187778
201066455 201066455
114539725 114539725
994389780 994389780
737123321 73712...

output:

Platina

result:

ok single line: 'Platina'

Test #20:

score: 0
Accepted
time: 3ms
memory: 5760kb

input:

300000
412348912 412348912
441277635 441277635
538011441 538011441
734122318 734122318
419140168 419140168
757293804 757293804
822965671 822965671
627173635 627173635
596830193 596830193
713740964 713740964
217243223 217243223
103033007 103033007
165696895 165696895
292698648 292698648
848271030 848...

output:

Platina

result:

ok single line: 'Platina'

Test #21:

score: 0
Accepted
time: 47ms
memory: 10776kb

input:

300000
364839843 801221170
333407692 918606065
186106779 835263751
700911122 727210854
43965385 470790614
315681659 409563181
21280495 559796919
519432591 771625654
23218624 874749748
75450122 891915449
623180223 829504384
188029874 485065444
675955812 843859242
65197259 181206981
307170120 43168552...

output:

Yuto

result:

ok single line: 'Yuto'

Test #22:

score: 0
Accepted
time: 52ms
memory: 11356kb

input:

300000
233508348 837064316
9752266 37510428
82205589 229203311
248208613 655563135
419693368 892203171
388630498 916140214
429630967 489036635
389015646 513031246
225839678 425901146
314821697 648252739
382637746 747235669
64843140 89996426
22080273 215104661
479515850 741948601
49721608 742831216
7...

output:

Yuto

result:

ok single line: 'Yuto'

Test #23:

score: 0
Accepted
time: 17ms
memory: 5216kb

input:

100000
116511727 176228535
821483105 16699705
249954927 846892847
250495072 837996734
678796864 642776298
172398275 815180268
422454603 738633794
797590282 287433802
449501987 775689946
163031562 528788442
174298838 663277202
172907283 91130764
161269118 326133403
689283051 34211960
437610726 397693...

output:

Platina

result:

ok single line: 'Platina'

Test #24:

score: 0
Accepted
time: 19ms
memory: 5184kb

input:

100000
293768908 313548422
820553134 34216979
275298268 669362729
92759855 429912526
527034648 886646345
268909891 593161815
720290539 515580485
46384054 944595969
632057166 314747488
735834179 320290910
961917795 142781636
74873836 670908460
212426288 992346114
282559211 342367082
843725727 4138719...

output:

Platina

result:

ok single line: 'Platina'

Test #25:

score: 0
Accepted
time: 16ms
memory: 5216kb

input:

100000
471026089 450868310
861092359 756766961
964205122 565461539
935024639 63297515
375272433 425483682
775486924 371143361
723159183 333996372
663774047 938194624
888241274 517368542
603604087 816826087
380940532 400947706
976840389 324315084
263583458 658558824
580868080 650522204
291309923 4300...

output:

Platina

result:

ok single line: 'Platina'

Test #26:

score: 0
Accepted
time: 17ms
memory: 5232kb

input:

100000
353315978 883155489
860162388 437847746
358144683 92964129
850918351 991649797
633575634 374386436
577031247 149124908
20995119 110943062
912567820 226760570
775829161 351393376
471373995 239732334
799963269 954081069
878806941 904092780
609707920 661208024
584209657 32306253
697424923 446228...

output:

Platina

result:

ok single line: 'Platina'

Test #27:

score: 0
Accepted
time: 24ms
memory: 5260kb

input:

100000
530573159 20475375
490636197 160397728
383488024 915434011
988150426 920002078
481813419 618256482
83608279 853477528
245202127 224326241
161361592 515326518
326980560 554014431
44176611 31234802
587582226 138618211
412177273 188903183
955832382 32453442
177485817 340461375
439976412 75737446...

output:

Platina

result:

ok single line: 'Platina'

Test #28:

score: 0
Accepted
time: 13ms
memory: 5120kb

input:

100000
707830340 862827972
489706225 177915001
482460294 811532821
199011428 848354359
330051203 157093820
885152603 631459074
248070771 1272932
778751585 803892465
509535739 93071973
616979229 527769979
711637672 691751574
314143826 768680879
301956843 698666153
475794686 943583789
846091412 404956...

output:

Platina

result:

ok single line: 'Platina'

Test #29:

score: 0
Accepted
time: 15ms
memory: 5144kb

input:

100000
885087521 926518931
825212743 195432275
876399855 634002703
746308921 481739348
883321696 400963866
318100707 409440621
545906707 409623403
322512649 92458411
60687138 295693027
189781845 950676228
130660408 244884935
216110378 53491283
353114013 996282644
69070846 325367838
293675608 4211350...

output:

Platina

result:

ok single line: 'Platina'

Test #30:

score: 0
Accepted
time: 26ms
memory: 5164kb

input:

100000
767377410 63838817
455686551 917982257
196710488 866538002
252137215 705058921
731559481 349866620
824677740 187422168
843742644 891602802
644935350 749620578
948275026 834750570
426147973 447211403
918279366 503051006
118076930 1865198
699238475 367528063
367379716 633522960
404823317 437313...

output:

Platina

result:

ok single line: 'Platina'

Test #31:

score: 0
Accepted
time: 15ms
memory: 5192kb

input:

100000
944634591 496125997
454756580 304095750
590650049 762636812
799434707 633411202
211201045 593736667
921189355 260371006
846611288 299953272
188696415 743219233
835862914 37371624
293917881 870117652
337302102 982555441
946414556 286675602
750395645 33740773
665688585 941678082
442342097 74845...

output:

Platina

result:

ok single line: 'Platina'

Test #32:

score: 0
Accepted
time: 26ms
memory: 5208kb

input:

100000
624058600 550356042
261680363 735989871
606384178 893470644
698406772 264425712
198643963 331128712
340327426 732601048
580015974 262693497
870100258 323019068
648596829 645974169
444226356 462832878
743447906 591569159
616035457 381131159
920052645 501671307
626320125 977125802
812925159 729...

output:

Platina

result:

ok single line: 'Platina'

Test #33:

score: 0
Accepted
time: 0ms
memory: 4220kb

input:

100000
246259839 246259839
417715898 417715898
941146798 941146798
59548659 59548659
856892575 856892575
331244685 331244685
457121787 457121787
190836073 190836073
278572940 278572940
392510629 392510629
72887503 72887503
823434215 823434215
17652495 17652495
171067544 171067544
7657525 7657525
610...

output:

Platina

result:

ok single line: 'Platina'

Test #34:

score: 0
Accepted
time: 0ms
memory: 4276kb

input:

100000
423517020 423517020
48189707 48189707
261457431 261457431
196780734 196780734
705130359 705130359
132789009 132789009
386361504 386361504
439629846 439629846
166160828 166160828
965313246 965313246
491910240 491910240
725400767 725400767
68809665 68809665
469376413 469376413
45176305 45176305...

output:

Platina

result:

ok single line: 'Platina'

Test #35:

score: 0
Accepted
time: 0ms
memory: 4228kb

input:

100000
305806909 305806909
457325153 457325153
655396992 655396992
112674446 112674446
258400852 258400852
934333333 934333333
389230148 389230148
57019838 57019838
717312227 717312227
833083154 833083154
910932978 910932978
258771099 258771099
119966835 119966835
767685282 767685282
156324014 15632...

output:

Platina

result:

ok single line: 'Platina'

Test #36:

score: 0
Accepted
time: 16ms
memory: 5152kb

input:

100000
376007950 418837428
300498890 645352473
263742449 829915358
409518035 868602247
329955577 475085173
529190077 785058387
123192752 363138589
429070677 584081865
107643894 258201026
958426184 959457807
411704920 602879948
105364925 111431039
579068582 703765644
131099190 989288528
294644746 577...

output:

Yuto

result:

ok single line: 'Yuto'

Test #37:

score: 0
Accepted
time: 20ms
memory: 5112kb

input:

100000
553265131 556157316
318016163 644422501
62450656 952649302
42903024 710867031
718955219 883226070
586602710 602138915
126061396 476521768
717636624 832875638
165854788 995231782
531228801 750960275
21902685 964838283
712364186 764837663
369978354 925193044
287597396 807850532
237194215 320255...

output:

Yuto

result:

ok single line: 'Yuto'

Test #38:

score: 0
Accepted
time: 19ms
memory: 5108kb

input:

100000
730522312 988444495
409162365 979929019
253516758 977992644
921728034 971255306
731463855 962825265
93179742 716556951
253468458 718864625
6202571 450265630
546383181 704912331
398998709 878899232
149375425 440925423
344615359 614330739
36191064 271317505
116005653 880873557
253372612 7263708...

output:

Yuto

result:

ok single line: 'Yuto'

Test #39:

score: 0
Accepted
time: 2ms
memory: 3400kb

input:

3
867460302 418174135
841306723 753715871
382852443 917718846

output:

Platina

result:

ok single line: 'Platina'

Test #40:

score: 0
Accepted
time: 2ms
memory: 3464kb

input:

3
749750191 481865094
840376752 476265852
408195784 445221436

output:

Platina

result:

ok single line: 'Platina'

Test #41:

score: 0
Accepted
time: 1ms
memory: 3472kb

input:

3
221974663 619184982
175883269 493783126
802135346 267691318

output:

Yuto

result:

ok single line: 'Yuto'

Test #42:

score: 0
Accepted
time: 1ms
memory: 3484kb

input:

3
104264552 461537577
806357078 511300399
196074907 163790128

output:

Yuto

result:

ok single line: 'Yuto'

Test #43:

score: 0
Accepted
time: 2ms
memory: 3432kb

input:

3
986554442 893824756
805427107 602446601
221418248 691292719

output:

Platina

result:

ok single line: 'Platina'

Test #44:

score: 0
Accepted
time: 2ms
memory: 3412kb

input:

3
163811623 31144643
140933624 619963875
910325102 513762600

output:

Yuto

result:

ok single line: 'Yuto'

Test #45:

score: 0
Accepted
time: 0ms
memory: 3392kb

input:

3
341068804 799868311
140003652 637481148
9297370 114894118

output:

Yuto

result:

ok single line: 'Yuto'

Test #46:

score: 0
Accepted
time: 2ms
memory: 3432kb

input:

3
518325985 232155490
475510170 654998422
34640712 937364001

output:

Platina

result:

ok single line: 'Platina'

Test #47:

score: 0
Accepted
time: 0ms
memory: 3396kb

input:

3
400615874 74508085
474580199 746144624
428580273 464866591

output:

Platina

result:

ok single line: 'Platina'

Test #48:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

3
166437937 718335171
338725227 220748441
933308415 560881626

output:

Yuto

result:

ok single line: 'Yuto'

Test #49:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

10000
614396545 614396545
449544582 449544582
336859303 336859303
506085792 506085792
216744095 216744095
505884232 505884232
62546840 62546840
511133563 511133563
721541760 721541760
500620819 500620819
964173932 964173932
124904864 124904864
45750665 45750665
32573161 32573161
541399422 541399422
...

output:

Platina

result:

ok single line: 'Platina'

Test #50:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

10000
496686434 496686434
153647319 153647319
730798865 730798865
716946795 716946795
770014589 770014589
12461263 12461263
360382776 360382776
759927336 759927336
904096940 904096940
368390727 368390727
751792888 751792888
26871417 26871417
391875127 391875127
625849322 625849322
357579838 35757983...

output:

Platina

result:

ok single line: 'Platina'

Test #51:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

10000
673943615 673943615
784121129 784121129
124738425 124738425
264244286 264244286
618252373 618252373
814005588 814005588
363251420 363251420
672284620 672284620
455248338 455248338
309789564 309789564
170815625 170815625
928837970 928837970
737999589 737999589
924158192 924158192
395098619 3950...

output:

Platina

result:

ok single line: 'Platina'

Test #52:

score: 0
Accepted
time: 4ms
memory: 3740kb

input:

10000
54160424 744144657
45777376 297648843
290445487 323018465
683735599 936372325
394839806 684281100
369763349 996254031
431971094 728617805
24848524 904379355
499140880 845580006
179899365 730099886
184795538 494166376
480464504 998132237
500213245 902134043
189715376 219390364
111446221 5713155...

output:

Yuto

result:

ok single line: 'Yuto'

Test #53:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

10000
896513021 921401838
20198825 381283893
481511589 716958027
526000382 569757314
633183855 948110300
171307673 774235578
26453740 545354273
153173127 313414472
28135184 333165714
302902502 602805613
281785333 737928901
13834836 282942640
248258504 797829737
497870498 812666525
882461275 92762663...

output:

Yuto

result:

ok single line: 'Yuto'

Test #54:

score: 0
Accepted
time: 4ms
memory: 3696kb

input:

10000
803691727 960203980
37716098 380353922
9014179 742301369
441894094 793076887
796348084 877053901
183620905 972851998
29322385 322300963
65530411 601980419
240819476 284319292
99340789 875705119
291062263 700808070
915801389 936349264
299415674 464042447
110975393 879654548
530043452 670178127
...

output:

Yuto

result:

ok single line: 'Yuto'

Test #55:

score: 0
Accepted
time: 1ms
memory: 3432kb

input:

5
625618797 274878697
537782292 241455962
690973799 400053012
375629075 930588425
782727306 700492151

output:

Platina

result:

ok single line: 'Platina'

Test #56:

score: 0
Accepted
time: 2ms
memory: 3448kb

input:

5
802875978 43602364
873288810 964005945
716317141 296151821
217893858 153907997
335997798 649394905

output:

Platina

result:

ok single line: 'Platina'

Test #57:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

5
980133159 475889544
577391547 276490509
110256701 823654412
428754861 787292987
184235583 893264951

output:

Platina

result:

ok single line: 'Platina'

Test #58:

score: 0
Accepted
time: 2ms
memory: 3464kb

input:

5
157390339 613209431
207865355 999040492
799163555 351157002
976052354 715645268
663877148 432102288

output:

Platina

result:

ok single line: 'Platina'

Test #59:

score: 0
Accepted
time: 2ms
memory: 3400kb

input:

5
39680228 455562026
911968093 385153985
824506896 247255812
481880648 643997549
217147640 381005043

output:

Platina

result:

ok single line: 'Platina'

Test #60:

score: 0
Accepted
time: 0ms
memory: 3456kb

input:

5
511904701 887849206
542441902 107703966
218446457 69725694
29178139 572349830
65385425 624875089

output:

Yuto

result:

ok single line: 'Yuto'

Test #61:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

5
394194590 25169092
541511930 125221240
243789798 597228284
871442924 205734819
913623210 163712426

output:

Yuto

result:

ok single line: 'Yuto'

Test #62:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

5
276484479 88860052
171985739 847771222
637729360 788294386
82303926 429054392
466893703 112615181

output:

Platina

result:

ok single line: 'Platina'

Test #63:

score: 0
Accepted
time: 0ms
memory: 3396kb

input:

5
453741660 226179939
507492256 233884715
326636213 315796976
924568710 726002893
20164195 356485227

output:

Yuto

result:

ok single line: 'Yuto'

Test #64:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

5
704014122 542204539
327557119 603132183
621363634 842552313
103852358 110045385
945406593 745679283

output:

Platina

result:

ok single line: 'Platina'

Test #65:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

10
243758832 183463610
71661739 925620074
747935112 364605799
788572826 689398556
235226423 650777854
189548935 723068523
112586477 229165185
317735464 840396272
853047198 778000742
48644494 559770662

output:

Platina

result:

ok single line: 'Platina'

Test #66:

score: 0
Accepted
time: 2ms
memory: 3400kb

input:

10
126048721 615750789
702135548 16766274
773278453 260704608
630837609 617750837
83464207 599680608
991093260 206082778
410422413 711144584
861496529 128962218
404198596 317058285
916414403 687709619

output:

Platina

result:

ok single line: 'Platina'

Test #67:

score: 0
Accepted
time: 1ms
memory: 3440kb

input:

10
303305902 753070677
406238285 34283548
167218014 83174490
768069684 546103118
636734701 843550654
87604874 279031616
708258349 824527764
183919229 417528165
586753775 519679339
194249727 184244795

output:

Platina

result:

ok single line: 'Platina'

Test #68:

score: 0
Accepted
time: 2ms
memory: 3448kb

input:

10
480563083 185357855
36712094 756833531
192561355 610677081
683963396 474455399
484972485 382387992
594181907 688416944
711126994 306507162
727680294 706094112
769308955 58736881
62019635 975747264

output:

Platina

result:

ok single line: 'Platina'

Test #69:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

10
657820264 27710450
35782122 774350804
586500917 138179671
526228179 107840388
333210270 331290746
395726231 761365783
8962929 714857633
681506775 699692767
25493061 187729007
929789544 103686219

output:

Platina

result:

ok single line: 'Platina'

Test #70:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

10
540110153 796434119
666255932 791868078
275407769 34278481
737089182 331159961
591513471 575160792
902303263 539347329
306798865 196837031
593864059 356854933
913080950 95382769
502592160 895188688

output:

Platina

result:

ok single line: 'Platina'

Test #71:

score: 0
Accepted
time: 2ms
memory: 3400kb

input:

10
717367334 228721297
370358669 883014280
300751111 561781072
579353966 964544951
439751256 113998129
335251367 317328876
604634801 605187503
547690540 645420880
464232348 929407605
370362068 686691156

output:

Platina

result:

ok single line: 'Platina'

Test #72:

score: 0
Accepted
time: 2ms
memory: 3400kb

input:

10
894624515 366041185
832477 900531553
694690672 384250953
495247677 892897232
287989040 62900884
136795690 95310423
533874518 87166901
460047824 933986827
646787528 837061367
943164685 814630113

output:

Platina

result:

ok single line: 'Platina'

Test #73:

score: 0
Accepted
time: 1ms
memory: 3408kb

input:

10
71881695 798328364
336338995 623081535
88630233 280349763
632479752 116216804
841259534 306770930
643372723 799663042
831710454 495517372
708841597 222552773
197938926 671086201
515967301 606132580

output:

Platina

result:

ok single line: 'Platina'

Test #74:

score: 0
Accepted
time: 2ms
memory: 3452kb

input:

10
300347713 768246479
218839191 501490014
70782370 675691062
114888214 276137103
892900102 828458639
326784143 991947416
542407743 772998951
117455748 267456459
415811035 497849510
790674163 963426346

output:

Platina

result:

ok single line: 'Platina'

Test #75:

score: 0
Accepted
time: 1ms
memory: 3452kb

input:

10
182637602 905566367
217909220 887603508
96125711 571789872
30781925 499456676
446170594 367295976
128328467 401332743
545276387 181349422
366249521 556022406
966962435 700470564
363476780 459961521

output:

Platina

result:

ok single line: 'Platina'

Test #76:

score: 0
Accepted
time: 0ms
memory: 3448kb

input:

10
359894783 337853545
848383029 610153489
785032565 99292462
168014001 132841665
294408379 316198730
929872791 179314290
843112323 663328821
983639514 844588353
149517613 239528107
936279397 882867770

output:

Platina

result:

ok single line: 'Platina'

Test #77:

score: 0
Accepted
time: 0ms
memory: 3408kb

input:

10
537151964 106577212
847453058 627670763
810375906 921762344
83907712 61193946
142646163 560068776
436449823 957295837
772352039 440275511
232433286 838187008
37105501 442149161
509082013 674370238

output:

Platina

result:

ok single line: 'Platina'

Test #78:

score: 0
Accepted
time: 2ms
memory: 3460kb

input:

10
419441853 243897100
182959574 350220745
909348176 522893862
926172496 989546228
327320437 98906114
237994147 30244675
775220684 258691398
849823279 126752954
588256900 981206704
376851921 802309195

output:

Platina

result:

ok single line: 'Platina'

Test #79:

score: 0
Accepted
time: 2ms
memory: 3420kb

input:

10
596699034 381216987
182029603 736334238
303287737 345363744
768437279 286494728
175558221 47808868
744571179 808226223
73056619 35638089
98617051 783915121
475844788 815231538
244621829 593811662

output:

Platina

result:

ok single line: 'Platina'

Test #80:

score: 0
Accepted
time: 1ms
memory: 3400kb

input:

1
814334516 192873353

output:

Yuto

result:

ok single line: 'Yuto'

Test #81:

score: 0
Accepted
time: 2ms
memory: 3432kb

input:

1
696624405 625160532

output:

Yuto

result:

ok single line: 'Yuto'

Test #82:

score: 0
Accepted
time: 1ms
memory: 3404kb

input:

1
168848877 762480420

output:

Yuto

result:

ok single line: 'Yuto'

Test #83:

score: 0
Accepted
time: 2ms
memory: 3432kb

input:

1
51138766 899800307

output:

Yuto

result:

ok single line: 'Yuto'

Test #84:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

1
228395947 37120193

output:

Yuto

result:

ok single line: 'Yuto'

Test #85:

score: 0
Accepted
time: 2ms
memory: 3452kb

input:

1
110685836 174440081

output:

Yuto

result:

ok single line: 'Yuto'

Test #86:

score: 0
Accepted
time: 0ms
memory: 3392kb

input:

1
582910309 238131040

output:

Yuto

result:

ok single line: 'Yuto'

Test #87:

score: 0
Accepted
time: 2ms
memory: 3448kb

input:

1
465200198 375450927

output:

Yuto

result:

ok single line: 'Yuto'

Test #88:

score: 0
Accepted
time: 0ms
memory: 3404kb

input:

1
642457379 512770815

output:

Yuto

result:

ok single line: 'Yuto'

Test #89:

score: 0
Accepted
time: 2ms
memory: 3416kb

input:

1
923829045 894465804

output:

Yuto

result:

ok single line: 'Yuto'

Test #90:

score: 0
Accepted
time: 0ms
memory: 3396kb

input:

1
101086225 31785690

output:

Yuto

result:

ok single line: 'Yuto'

Test #91:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

1
983376115 464072869

output:

Yuto

result:

ok single line: 'Yuto'

Test #92:

score: 0
Accepted
time: 2ms
memory: 3464kb

input:

1
160633295 601392757

output:

Yuto

result:

ok single line: 'Yuto'

Test #93:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

1
337890476 443745352

output:

Yuto

result:

ok single line: 'Yuto'

Test #94:

score: 0
Accepted
time: 1ms
memory: 3488kb

input:

1
220180365 507436311

output:

Yuto

result:

ok single line: 'Yuto'

Test #95:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

1
944082627 944082627

output:

Platina

result:

ok single line: 'Platina'

Test #96:

score: 0
Accepted
time: 2ms
memory: 3392kb

input:

1
73830738 730449538

output:

Yuto

result:

ok single line: 'Yuto'

Test #97:

score: 0
Accepted
time: 1ms
memory: 3436kb

input:

1
867769426 956120628

output:

Yuto

result:

ok single line: 'Yuto'

Test #98:

score: 0
Accepted
time: 2ms
memory: 3488kb

input:

3000
22499 36599
14854 30856
77538 86780
78060 72193
79294 51466
22806 49135
37462 25392
79072 26356
38335 55239
1574 68156
52636 96890
22808 2376
82415 79357
72527 6513
21133 90414
22388 87792
36688 90212
20197 1405
59858 80815
85833 95640
71834 66903
15017 92221
35416 60613
22813 82275
9495 66685
...

output:

Platina

result:

ok single line: 'Platina'

Test #99:

score: 0
Accepted
time: 1ms
memory: 3476kb

input:

3000
32419 54167
941 84943
81381 53820
59578 65505
57157 11853
44482 56339
30296 65084
45204 15560
18791 39207
60419 17532
51941 98494
1648 93349
54312 53407
17737 94031
95957 84632
48889 55041
24084 68435
22188 98935
37447 67930
4877 64492
83876 10831
5681 89247
53283 37599
72888 42237
95340 44456
...

output:

Platina

result:

ok single line: 'Platina'

Test #100:

score: 0
Accepted
time: 2ms
memory: 3520kb

input:

3000
66686 47388
97923 63377
44812 31754
5855 58817
59368 20935
55265 28303
74437 15670
51749 29111
58836 63589
94917 77804
75592 59684
56142 59974
26209 38351
87296 41136
70779 78850
15802 57530
71068 22312
99834 7357
15036 6351
23923 73757
82465 43867
96346 86274
35909 65892
87721 2199
92078 8773
...

output:

Platina

result:

ok single line: 'Platina'

Test #101:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

3000
76606 89304
19249 30916
48655 9688
87375 27782
61578 5669
17353 24614
42925 55362
93535 42662
63639 71904
53761 27181
64003 85635
34983 50946
98107 88056
8159 4307
80842 73068
17956 24779
58464 535
1825 29234
92626 58226
42968 66955
70159 52555
62663 58953
18534 18530
2554 10855
77922 86545
701...

output:

Platina

result:

ok single line: 'Platina'

Test #102:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

3000
10873 6871
5336 85004
52499 52382
9305 45441
39442 66057
3789 96578
11412 5947
79 56213
3683 96285
12605 52212
87654 11585
73411 82332
45657 62106
77717 27066
55665 91634
20110 27268
70207 54412
68577 62004
45867 20994
62014 76220
93095 20831
88568 20738
36401 11582
17387 70818
39419 50863
1728...

output:

Platina

result:

ok single line: 'Platina'

Test #103:

score: 0
Accepted
time: 2ms
memory: 3500kb

input:

3000
45140 48786
26664 63438
91583 30316
15170 38753
41652 75138
65879 28129
90794 21292
41865 34523
59793 80253
22756 36830
86959 72776
52251 73304
17554 71397
22927 49825
65728 85852
62677 94517
57603 56983
46222 59533
47803 83763
56713 9831
56443 29519
79232 17765
94681 64221
32221 30780
916 2863...

output:

Platina

result:

ok single line: 'Platina'

Test #104:

score: 0
Accepted
time: 2ms
memory: 3548kb

input:

3000
55060 1595
88404 17524
95427 32596
37101 7718
43863 59873
52314 75747
59281 71879
72757 48074
99838 4634
81601 61860
75369 74380
31092 39929
89452 21100
68138 37343
40550 80070
89179 21353
80240 10859
23866 92303
1045 70878
104 54336
3725 73449
45549 90445
12547 16860
47054 15089
86761 17298
19...

output:

Platina

result:

ok single line: 'Platina'

Test #105:

score: 0
Accepted
time: 2ms
memory: 3496kb

input:

3000
89327 94817
85385 60718
58858 75290
18620 25377
21726 20260
38750 72057
27769 11570
90196 37278
4640 88603
16098 22131
99021 24677
9932 6554
12655 95152
37695 60102
74961 74289
91333 64255
91983 89083
90618 25072
78635 9299
54391 63601
91420 6483
36213 87472
95173 45153
86235 99399
83499 70723
...

output:

Platina

result:

ok single line: 'Platina'

Test #106:

score: 0
Accepted
time: 0ms
memory: 3512kb

input:

3000
23593 36732
71472 14805
62701 77571
138 94343
99591 4994
838 44021
71910 62156
56328 50829
44685 12983
74943 47162
22671 85869
24013 97528
84553 69202
82907 58514
49783 92854
58246 66745
79379 42960
92610 22601
56223 96415
49089 21559
54768 15172
37771 60151
77799 22138
76721 24120
69343 24147
...

output:

Platina

result:

ok single line: 'Platina'

Test #107:

score: 0
Accepted
time: 2ms
memory: 3568kb

input:

3000
46967 31367
18963 95551
32706 31310
48752 21563
27805 12748
818 75586
99422 32299
59808 34316
25496 24360
69425 66035
58994 94004
49684 66009
7550 93229
52091 56041
20142 40085
20021 25889
25079 61552
82551 43733
37872 55081
55581 45198
84041 30467
52899 94744
77853 20659
56874 99383
81858 8485...

output:

Platina

result:

ok single line: 'Platina'

Test #108:

score: 0
Accepted
time: 2ms
memory: 3496kb

input:

3000
81234 48936
80704 14397
36549 9244
5923 14875
5668 97483
87255 47549
43562 71991
66353 12626
65540 48741
28269 15412
82646 19954
39418 32634
79448 67280
97302 43559
70618 34303
22175 4031
12475 15428
60196 41262
91115 17849
74626 14049
71736 63503
19216 67423
95720 38058
31294 59345
43355 13930...

output:

Platina

result:

ok single line: 'Platina'

Test #109:

score: 0
Accepted
time: 2ms
memory: 3492kb

input:

3000
91154 66504
2030 92832
40393 87178
76548 83841
83533 6563
49343 79101
12049 98230
8138 26177
45997 32710
87114 16096
6296 5491
18258 23607
51345 16983
42513 66318
80681 63762
48676 71280
24218 93653
37841 74032
93050 4964
69325 23314
70325 7431
34227 40102
78346 66350
46128 68001
29199 26941
47...

output:

Platina

result:

ok single line: 'Platina'

Test #110:

score: 0
Accepted
time: 2ms
memory: 3476kb

input:

3000
49767 8418
88118 46918
79478 54218
33720 1499
85743 91298
35779 51065
80537 37921
14683 15381
86041 57091
21611 713
29948 31442
97100 54992
98896 26274
87724 53836
79851 57981
15590 98117
22508 82770
4592 71562
46292 67733
88371 81273
82366 40467
544 37129
36624 18989
60961 27963
25937 56019
19...

output:

Platina

result:

ok single line: 'Platina'

Test #111:

score: 0
Accepted
time: 3ms
memory: 3568kb

input:

3000
59687 1640
9445 25352
7667 32152
15238 70465
63607 51686
97869 23028
24678 53267
56469 28932
66497 16712
80456 25744
94012 33046
286 45964
46446 75979
32934 76595
54673 76546
17744 65365
34251 60993
82237 28678
88641 54848
31762 25777
70061 49155
2102 98915
54491 47281
75795 87926
11781 69031
1...

output:

Platina

result:

ok single line: 'Platina'

Test #112:

score: 0
Accepted
time: 2ms
memory: 3488kb

input:

3000
93954 78796
71185 79439
46752 34433
61516 63777
65817 36420
84304 19339
28406 28199
63014 42483
6541 65440
90607 10362
17663 94238
14367 12589
18343 50029
78145 99354
64736 95111
19898 43508
45994 14870
84229 1860
66230 93270
26461 59389
68650 17431
17113 71595
37117 99921
90628 96582
73279 224...

output:

Platina

result:

ok single line: 'Platina'

Test #113:

score: 0
Accepted
time: 1ms
memory: 5752kb

input:

300000
372 879
609 359
453 345
605 289
272 579
738 913
165 735
524 722
607 803
716 975
246 791
6 607
178 404
994 273
156 591
549 691
653 255
170 730
250 31
994 134
943 472
734 621
685 440
637 296
163 360
783 519
293 815
476 249
485 783
180 310
469 744
558 153
347 129
159 815
57 101
897 938
773 8
151...

output:

Platina

result:

ok single line: 'Platina'

Test #114:

score: 0
Accepted
time: 0ms
memory: 5788kb

input:

300000
473 964
567 513
477 961
966 766
668 379
318 256
563 256
133 391
795 57
722 740
380 581
875 485
242 569
852 540
828 445
195 283
857 101
833 742
803 764
181 841
995 200
227 658
438 848
148 918
787 58
648 247
790 828
537 124
409 439
160 727
169 568
469 694
320 742
455 554
937 204
930 109
986 441...

output:

Platina

result:

ok single line: 'Platina'

Test #115:

score: 0
Accepted
time: 3ms
memory: 5756kb

input:

300000
574 288
533 279
493 576
707 3
62 800
519 218
969 157
981 60
593 81
728 878
894 363
362 983
926 121
711 434
507 680
834 265
60 566
885 365
593 877
362 166
277 316
721 305
191 874
667 920
410 368
521 985
674 593
837 626
705 95
760 143
877 400
379 614
294 742
998 55
823 927
350 281
206 254
184 7...

output:

Platina

result:

ok single line: 'Platina'

Test #116:

score: 0
Accepted
time: 3ms
memory: 5800kb

input:

300000
675 993
490 434
508 803
679 861
839 211
480 562
367 686
581 102
399 718
495 634
400 145
470 853
990 666
188 89
179 915
861 619
653 412
556 758
145 982
542 880
940 44
461 962
952 273
178 541
653 446
385 722
789 605
136 500
629 124
732 568
576 852
528 154
648 742
301 176
710 641
383 454
419 678...

output:

Platina

result:

ok single line: 'Platina'

Test #117:

score: 0
Accepted
time: 4ms
memory: 5752kb

input:

300000
156 697
837 207
532 418
421 718
233 631
61 533
145 587
428 772
587 742
501 780
533 927
966 350
665 830
46 356
851 150
119 219
857 496
600 381
317 93
723 825
992 152
954 998
85 299
689 162
284 756
250 459
665 371
818 995
553 781
92 366
665 56
438 703
621 735
224 917
589 363
797 245
633 110
830...

output:

Platina

result:

ok single line: 'Platina'

Test #118:

score: 0
Accepted
time: 3ms
memory: 5748kb

input:

300000
257 29
803 362
547 33
774 575
629 50
23 256
543 116
648 441
385 377
888 918
667 97
453 229
729 2
905 631
530 4
766 193
823 341
270 393
489 206
903 531
655 269
447 653
219 326
200 164
527 835
115 569
788 375
498 488
858 437
72 783
364 509
968 243
586 735
138 425
476 466
838 798
226 924
37 108
...

output:

Platina

result:

ok single line: 'Platina'

Test #119:

score: 0
Accepted
time: 4ms
memory: 5756kb

input:

300000
358 114
140 136
563 259
754 43
404 471
604 219
941 398
876 110
192 401
894 55
172 499
941 727
412 547
382 906
202 859
412 174
34 807
942 398
660 939
464 864
326 997
568 690
980 353
711 166
150 144
981 305
665 148
178 363
782 93
664 207
71 953
878 164
940 354
442 165
355 569
251 598
439 356
86...

output:

Platina

result:

ok single line: 'Platina'

Test #120:

score: 0
Accepted
time: 1ms
memory: 5792kb

input:

300000
459 438
487 902
586 875
488 281
800 891
185 563
720 927
95 780
371 45
900 820
306 281
429 605
95 711
240 171
501 94
50 148
238 652
994 410
212 51
263 570
990 105
681 726
733 760
842 407
393 222
225 42
168 534
478 857
85 130
644 4
772 165
789 323
913 355
365 286
242 291
664 770
652 780
690 764...

output:

Platina

result:

ok single line: 'Platina'

Test #121:

score: 0
Accepted
time: 3ms
memory: 5800kb

input:

300000
941 143
445 676
602 109
849 138
575 310
146 525
117 828
323 441
178 681
667 958
440 70
925 475
159 884
90 827
172 337
316 129
823 116
657 33
384 164
444 904
660 841
174 382
494 779
734 401
16 532
718 772
664 927
158 731
390 787
997 422
860 609
946 244
887 967
280 787
129 13
705 942
253 593
89...

output:

Platina

result:

ok single line: 'Platina'

Test #122:

score: 0
Accepted
time: 3ms
memory: 5852kb

input:

300000
525 136
177 967
802 920
656 271
700 816
93 310
538 332
493 556
164 977
31 112
820 289
976 950
644 554
847 535
340 404
864 650
28 615
881 579
138 410
766 862
293 697
592 7
766 878
459 551
397 522
842 977
409 692
311 875
911 868
909 387
628 806
476 123
577 30
73 271
363 819
686 123
114 849
153 ...

output:

Platina

result:

ok single line: 'Platina'

Test #123:

score: 0
Accepted
time: 2ms
memory: 3456kb

input:

3
7 10
5 6
6 10

output:

Yuto

result:

ok single line: 'Yuto'

Test #124:

score: 0
Accepted
time: 2ms
memory: 3440kb

input:

3
1 8
3 10
4 6

output:

Yuto

result:

ok single line: 'Yuto'

Test #125:

score: 0
Accepted
time: 2ms
memory: 3412kb

input:

3
10 10
3 9
2 5

output:

Platina

result:

ok single line: 'Platina'

Test #126:

score: 0
Accepted
time: 2ms
memory: 3444kb

input:

3
1 1
0 7
2 3

output:

Platina

result:

ok single line: 'Platina'

Test #127:

score: 0
Accepted
time: 1ms
memory: 3472kb

input:

3
3 6
5 8
2 7

output:

Yuto

result:

ok single line: 'Yuto'

Test #128:

score: 0
Accepted
time: 2ms
memory: 3356kb

input:

3
1 3
6 7
8 9

output:

Yuto

result:

ok single line: 'Yuto'

Test #129:

score: 0
Accepted
time: 2ms
memory: 3452kb

input:

3
3 9
2 6
2 4

output:

Yuto

result:

ok single line: 'Yuto'

Test #130:

score: 0
Accepted
time: 1ms
memory: 3440kb

input:

3
5 10
3 3
4 8

output:

Platina

result:

ok single line: 'Platina'

Test #131:

score: 0
Accepted
time: 1ms
memory: 3404kb

input:

3
7 8
2 4
0 1

output:

Yuto

result:

ok single line: 'Yuto'

Test #132:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

3
0 2
1 8
4 5

output:

Yuto

result:

ok single line: 'Yuto'

Test #133:

score: 0
Accepted
time: 2ms
memory: 3408kb

input:

3
4 9
2 2
8 9

output:

Platina

result:

ok single line: 'Platina'

Test #134:

score: 0
Accepted
time: 2ms
memory: 3444kb

input:

3
0 9
1 9
3 7

output:

Yuto

result:

ok single line: 'Yuto'

Test #135:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

3
4 9
3 3
0 4

output:

Platina

result:

ok single line: 'Platina'

Test #136:

score: 0
Accepted
time: 2ms
memory: 3472kb

input:

3
4 5
8 8
3 9

output:

Platina

result:

ok single line: 'Platina'

Test #137:

score: 0
Accepted
time: 0ms
memory: 3444kb

input:

3
2 10
8 10
3 3

output:

Platina

result:

ok single line: 'Platina'