QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#417786 | #5158. Interview Question | yuyutw | AC ✓ | 18ms | 3864kb | C++14 | 2.0kb | 2024-05-22 22:10:52 | 2024-05-22 22:10:52 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
void solve() {
int c, d;
cin >> c >> d;
vector<int> a, b, cc;
int ga = 0, gb = 0, gc = 0;
for(int i=0;i<d-c+1;i++) {
string tmp;
cin >> tmp;
if(tmp == "Fizz") {
a.push_back(c+i);
if(ga == 0)
ga = c+i;
else
ga = __gcd(c+i, ga);
} else if(tmp == "Buzz") {
b.push_back(c+i);
if(gb == 0)
gb = c+i;
else
gb = __gcd(c+i, gb);
} else if(tmp == "FizzBuzz") {
cc.push_back(c+i);
if(gc == 0)
gc = c+i;
else
gc = __gcd(c+i, gc);
}
}
int ans = 0;
if(ga==0&&gb!=0){
if(cc.size()==0){
cout << d+1 << " " << gb << endl;
} else if(b.size()==1){
ans = gc/abs(gc-gb);
cout << ans << " " << abs(gc-gb) << endl;
}
else{
ans = gc*gb/__gcd(gc,gb);
if(gb==1)
ans = gc;
cout << ans << " " << gb << endl;
}
}
else if(ga!=0&&gb==0){
if(cc.size()==0){
cout << ga << " " << d+1 << endl;
} else if(a.size()==1){
ans = gc/abs(gc-ga);
cout << abs(gc-ga) << " " << ans << endl;
}
else{
ans = gc*ga/__gcd(gc,ga);
if(ga==1)
ans = gc;
cout << ga << " " << ans << endl;
}
} else if(ga==0&&gb==0) {
if(cc.size()>=1){
int a1=0, b2=0;
for(int i=1;i<=gc;i++) {
if(gc%i==0) {
a1 = b2 = i;
}
}
cout << a1 << " " << b2 << endl;
} else{
cout << d+1 << " " << d+2 << endl;
}
} else {
cout << ga << " " << gb << endl;
}
}
int main() {
solve();
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3460kb
input:
7 11 7 8 Fizz Buzz 11
output:
9 10
result:
ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
49999 50002 49999 FizzBuzz 50001 Fizz
output:
2 25000
result:
ok
Test #3:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
8 11 Buzz Buzz FizzBuzz Buzz
output:
10 1
result:
ok
Test #4:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
10 15 10 11 12 13 14 15
output:
16 17
result:
ok
Test #5:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
17 17 17
output:
18 19
result:
ok
Test #6:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
13 13 Fizz
output:
13 14
result:
ok
Test #7:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
20 20 Buzz
output:
21 20
result:
ok
Test #8:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
30 30 FizzBuzz
output:
30 30
result:
ok
Test #9:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
9 10 Buzz FizzBuzz
output:
10 1
result:
ok
Test #10:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
2 6 2 3 4 5 FizzBuzz
output:
6 6
result:
ok
Test #11:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
6 7 Fizz 7
output:
6 8
result:
ok
Test #12:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
7 8 Buzz Buzz
output:
9 1
result:
ok
Test #13:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
4 8 4 5 Buzz 7 8
output:
9 6
result:
ok
Test #14:
score: 0
Accepted
time: 1ms
memory: 3504kb
input:
33 50 Buzz 34 35 FizzBuzz 37 38 Buzz 40 41 FizzBuzz 43 44 Buzz 46 47 FizzBuzz 49 50
output:
6 3
result:
ok
Test #15:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
32 47 32 33 34 35 FizzBuzz 37 38 39 40 41 FizzBuzz 43 44 45 46 47
output:
6 6
result:
ok
Test #16:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
9 72 9 FizzBuzz 11 12 13 14 15 16 17 18 19 FizzBuzz 21 22 23 24 25 26 27 28 29 FizzBuzz 31 32 33 34 35 36 37 38 39 FizzBuzz 41 42 43 44 45 46 47 48 49 FizzBuzz 51 52 53 54 55 56 57 58 59 FizzBuzz 61 62 63 64 65 66 67 68 69 FizzBuzz 71 72
output:
10 10
result:
ok
Test #17:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
55 59 55 Fizz 57 Fizz 59
output:
2 60
result:
ok
Test #18:
score: 0
Accepted
time: 0ms
memory: 3452kb
input:
35 65 Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz FizzBuzz Fizz
output:
1 2
result:
ok
Test #19:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
3 6 3 4 5 6
output:
7 8
result:
ok
Test #20:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
4 5 4 5
output:
6 7
result:
ok
Test #21:
score: 0
Accepted
time: 0ms
memory: 3440kb
input:
3 10 3 4 5 6 7 8 9 10
output:
11 12
result:
ok
Test #22:
score: 0
Accepted
time: 0ms
memory: 3476kb
input:
2 4 2 3 4
output:
5 6
result:
ok
Test #23:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
3 4 3 4
output:
5 6
result:
ok
Test #24:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
1 67 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
output:
68 69
result:
ok
Test #25:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
45 73 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 Fizz 61 62 63 64 65 66 67 68 69 70 71 Buzz 73
output:
60 72
result:
ok
Test #26:
score: 0
Accepted
time: 0ms
memory: 3452kb
input:
23 85 23 Fizz 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Fizz 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 Fizz 73 74 75 76 77 78 79 80 81 82 83 84 85
output:
24 86
result:
ok
Test #27:
score: 0
Accepted
time: 1ms
memory: 3508kb
input:
2 3 2 3
output:
4 5
result:
ok
Test #28:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
8 64 8 9 10 Buzz 12 13 14 15 16 17 18 19 20 21 Buzz 23 24 25 26 27 28 29 30 31 32 Buzz 34 35 36 37 38 39 40 41 42 43 Buzz 45 46 47 48 49 Fizz 51 52 53 54 Buzz 56 57 58 59 60 61 62 63 64
output:
50 11
result:
ok
Test #29:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
5 8 Fizz 6 7 8
output:
5 9
result:
ok
Test #30:
score: 0
Accepted
time: 1ms
memory: 3484kb
input:
1 7 1 2 3 Fizz 5 6 7
output:
4 8
result:
ok
Test #31:
score: 0
Accepted
time: 11ms
memory: 3668kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
40998 1272
result:
ok
Test #32:
score: 0
Accepted
time: 11ms
memory: 3468kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
91361 68433
result:
ok
Test #33:
score: 0
Accepted
time: 12ms
memory: 3536kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
21325 59645
result:
ok
Test #34:
score: 0
Accepted
time: 12ms
memory: 3700kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
34583 27663
result:
ok
Test #35:
score: 0
Accepted
time: 11ms
memory: 3736kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
86161 37409
result:
ok
Test #36:
score: 0
Accepted
time: 9ms
memory: 3728kb
input:
24456 98977 24456 24457 24458 24459 24460 24461 24462 24463 24464 24465 24466 24467 24468 24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 ...
output:
609 447
result:
ok
Test #37:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
54773 62280 54773 54774 54775 54776 54777 54778 54779 54780 54781 54782 54783 54784 54785 54786 54787 54788 54789 54790 54791 54792 54793 54794 54795 54796 54797 54798 54799 54800 54801 54802 54803 54804 54805 54806 54807 54808 54809 54810 54811 54812 54813 54814 54815 54816 54817 54818 54819 54820 ...
output:
496 547
result:
ok
Test #38:
score: 0
Accepted
time: 3ms
memory: 3700kb
input:
433 52306 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 50...
output:
822 207
result:
ok
Test #39:
score: 0
Accepted
time: 5ms
memory: 3544kb
input:
43481 80833 43481 43482 43483 43484 43485 43486 43487 43488 43489 43490 43491 43492 43493 43494 43495 43496 43497 43498 43499 43500 43501 43502 43503 43504 43505 43506 43507 43508 43509 43510 43511 43512 43513 43514 43515 43516 43517 43518 43519 43520 43521 43522 43523 43524 43525 43526 43527 43528 ...
output:
437 953
result:
ok
Test #40:
score: 0
Accepted
time: 7ms
memory: 3740kb
input:
22810 80643 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 ...
output:
768 88
result:
ok
Test #41:
score: 0
Accepted
time: 5ms
memory: 3488kb
input:
10950 48700 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 Buzz 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 1...
output:
559 90
result:
ok
Test #42:
score: 0
Accepted
time: 5ms
memory: 3544kb
input:
15394 53787 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 ...
output:
854 458
result:
ok
Test #43:
score: 0
Accepted
time: 5ms
memory: 3476kb
input:
39911 75660 39911 39912 39913 39914 39915 39916 39917 39918 39919 39920 39921 39922 39923 39924 39925 39926 39927 39928 39929 39930 39931 39932 39933 39934 39935 39936 39937 39938 39939 39940 39941 39942 39943 39944 39945 39946 39947 39948 39949 39950 39951 39952 39953 39954 39955 39956 39957 39958 ...
output:
591 98
result:
ok
Test #44:
score: 0
Accepted
time: 10ms
memory: 3732kb
input:
11093 93594 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 Buzz 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 1...
output:
534 117
result:
ok
Test #45:
score: 0
Accepted
time: 1ms
memory: 3728kb
input:
24531 31696 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 24577 24578 ...
output:
995 389
result:
ok
Test #46:
score: 0
Accepted
time: 1ms
memory: 3484kb
input:
100000 100000 100000
output:
100001 100002
result:
ok
Test #47:
score: 0
Accepted
time: 11ms
memory: 3736kb
input:
1 100000 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...
output:
100001 100002
result:
ok
Test #48:
score: 0
Accepted
time: 11ms
memory: 3476kb
input:
11111 99999 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 ...
output:
55555 55555
result:
ok
Test #49:
score: 0
Accepted
time: 18ms
memory: 3512kb
input:
12345 98765 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 ...
output:
34567 34567
result:
ok
Test #50:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
33657 34189 FizzBuzz 33658 33659 FizzBuzz 33661 33662 FizzBuzz 33664 33665 FizzBuzz 33667 33668 FizzBuzz 33670 33671 FizzBuzz 33673 33674 FizzBuzz 33676 33677 FizzBuzz 33679 33680 FizzBuzz 33682 33683 FizzBuzz 33685 33686 FizzBuzz 33688 33689 FizzBuzz 33691 33692 FizzBuzz 33694 33695 FizzBuzz 33697 ...
output:
3 3
result:
ok
Test #51:
score: 0
Accepted
time: 11ms
memory: 3696kb
input:
8729 98664 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786...
output:
98665 98666
result:
ok
Test #52:
score: 0
Accepted
time: 10ms
memory: 3540kb
input:
8676 90885 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733...
output:
90886 84471
result:
ok
Test #53:
score: 0
Accepted
time: 11ms
memory: 3656kb
input:
3542 95241 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599...
output:
95242 38342
result:
ok
Test #54:
score: 0
Accepted
time: 10ms
memory: 3740kb
input:
6609 91456 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666...
output:
91457 29065
result:
ok
Test #55:
score: 0
Accepted
time: 10ms
memory: 3680kb
input:
3593 97159 Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz...
output:
97160 1
result:
ok
Test #56:
score: 0
Accepted
time: 6ms
memory: 3444kb
input:
5419 92524 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476...
output:
79610 92525
result:
ok
Test #57:
score: 0
Accepted
time: 10ms
memory: 3480kb
input:
8127 92396 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184...
output:
77112 48153
result:
ok
Test #58:
score: 0
Accepted
time: 5ms
memory: 3452kb
input:
4159 91123 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216...
output:
81079 31573
result:
ok
Test #59:
score: 0
Accepted
time: 7ms
memory: 3652kb
input:
4722 96405 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779...
output:
93152 3298
result:
ok
Test #60:
score: 0
Accepted
time: 10ms
memory: 3720kb
input:
3717 93982 Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz...
output:
53071 1
result:
ok
Test #61:
score: 0
Accepted
time: 11ms
memory: 3452kb
input:
4501 90742 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558...
output:
36445 90743
result:
ok
Test #62:
score: 0
Accepted
time: 11ms
memory: 3444kb
input:
3466 95643 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523...
output:
39637 69289
result:
ok
Test #63:
score: 0
Accepted
time: 10ms
memory: 3660kb
input:
8724 91420 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781...
output:
39318 39493
result:
ok
Test #64:
score: 0
Accepted
time: 11ms
memory: 3444kb
input:
8968 98690 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025...
output:
46412 27173
result:
ok
Test #65:
score: 0
Accepted
time: 9ms
memory: 3684kb
input:
7580 90157 Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz...
output:
33294 1
result:
ok
Test #66:
score: 0
Accepted
time: 7ms
memory: 3480kb
input:
2562 92265 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619...
output:
21612 92266
result:
ok
Test #67:
score: 0
Accepted
time: 10ms
memory: 3548kb
input:
7617 92221 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674...
output:
25782 47228
result:
ok
Test #68:
score: 0
Accepted
time: 10ms
memory: 3484kb
input:
8145 98970 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202...
output:
12308 39495
result:
ok
Test #69:
score: 0
Accepted
time: 7ms
memory: 3700kb
input:
4780 92085 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837...
output:
12146 17867
result:
ok
Test #70:
score: 0
Accepted
time: 10ms
memory: 3668kb
input:
6090 99831 Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz Buzz...
output:
818 1
result:
ok
Test #71:
score: 0
Accepted
time: 10ms
memory: 3840kb
input:
2915 95804 Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz...
output:
1 95805
result:
ok
Test #72:
score: 0
Accepted
time: 11ms
memory: 3676kb
input:
3433 99284 Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz...
output:
1 61239
result:
ok
Test #73:
score: 0
Accepted
time: 10ms
memory: 3744kb
input:
9504 95172 Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz...
output:
1 47438
result:
ok
Test #74:
score: 0
Accepted
time: 6ms
memory: 3864kb
input:
6842 93065 Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz Fizz...
output:
1 12516
result:
ok
Test #75:
score: 0
Accepted
time: 14ms
memory: 3752kb
input:
3344 93891 FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz FizzBuzz F...
output:
1 1
result:
ok