QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#856717 | #4001. Barbecue | LightFeather | AC ✓ | 210ms | 32968kb | C++20 | 1.2kb | 2025-01-14 15:30:19 | 2025-01-14 15:30:19 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
typedef long long ll;
typedef unsigned long long ull;
constexpr int N = 2e6, P = 13331;
int a[N];
ull ha[N], revha[N], p[N];
ull getha(int l, int r){
return ha[r] - ha[l - 1] * p[r - l + 1];
}
ull getrevha(int l, int r){
return revha[r] - revha[l - 1] * p[r - l + 1];
}
void solve(){
int n, q;
cin >> n >> q;
string s, rev;
cin >> s;
rev = s;
s = " " + s;
reverse(rev.begin(), rev.end());
rev = " " + rev;
p[0] = 1;
for(int i = 1; i <= n; i ++){
ha[i] = ha[i - 1] * P + s[i];
p[i] = p[i - 1] * P;
}
for(int i = 1; i <= n; i ++){
revha[i] = revha[i - 1] * P + rev[i];
}
while(q --){
int l, r;
cin >> l >> r;
if(getha(l, r) == getrevha(n - r + 1, n - l + 1))
cout << "Budada" << endl;
else{
if((r - l + 1) % 2)
cout << "Putata" << endl;
else
cout << "Budada" << endl;
}
}
}
signed main(){
cin.tie(nullptr) -> ios::sync_with_stdio(false);
int t = 1;
// cin >> t;
while(t --)
solve();
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3712kb
input:
7 3 potatop 1 3 3 5 1 6
output:
Putata Budada Budada
result:
ok 3 lines
Test #2:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
10 10 tdttttpptd 2 4 1 2 1 4 5 10 1 4 3 9 2 2 8 9 6 10 6 10
output:
Putata Budada Budada Budada Budada Putata Budada Budada Putata Putata
result:
ok 10 lines
Test #3:
score: 0
Accepted
time: 5ms
memory: 3712kb
input:
100 50000 kttktkkktkkkkkttkkkkttktktttkkkttkkktttttkkkkkkkttkktktktktkkkkkktkttktkktkkttkktttktkttkttktkkttktt 3 96 55 62 49 73 38 77 93 93 37 66 10 29 17 78 80 98 12 74 38 56 23 87 27 79 36 69 47 84 25 45 21 86 68 83 55 71 53 72 45 67 26 74 20 85 40 85 27 59 89 90 44 54 15 26 7 76 9 62 28 100 42 66...
output:
Budada Budada Putata Budada Budada Budada Budada Budada Putata Putata Putata Putata Putata Budada Budada Putata Budada Budada Putata Budada Putata Putata Budada Budada Putata Budada Putata Budada Budada Budada Putata Putata Putata Putata Budada Budada Putata Budada Budada Putata Putata Putata Putata...
result:
ok 50000 lines
Test #4:
score: 0
Accepted
time: 5ms
memory: 3712kb
input:
100 50000 jbkdadjkabbjkdbbbbadajakaabkjkkkjabbkdkajjddaaajbjbjdkdddbbaaakdkbadjabbkkbdkdajkdbdjdjbaaabkbbkbkdd 29 47 53 62 29 38 72 97 58 77 77 88 73 90 26 90 74 81 36 43 46 59 3 29 23 43 35 62 33 95 14 99 49 49 5 11 12 23 5 23 27 33 33 95 42 54 47 77 11 81 24 27 47 70 32 73 6 72 84 92 6 57 79 93 9 ...
output:
Putata Budada Budada Budada Budada Budada Budada Putata Budada Budada Budada Putata Putata Budada Putata Budada Budada Putata Budada Putata Putata Putata Putata Putata Putata Budada Budada Budada Putata Putata Budada Putata Putata Putata Budada Putata Budada Budada Putata Putata Putata Putata Budada...
result:
ok 50000 lines
Test #5:
score: 0
Accepted
time: 5ms
memory: 3712kb
input:
100 50000 uhnhuihssrihhrhrrofjsforinffunfjofnsjfnsinnhjnurihujuirornironjhijunumsrmffrumrmmmhojsmhnmfromirujfi 25 89 26 47 34 37 6 93 57 66 44 85 17 44 83 92 36 65 38 76 32 74 6 13 4 79 34 35 43 79 46 67 7 85 19 92 59 78 52 74 47 93 38 87 45 67 32 50 58 69 40 54 10 17 48 85 24 99 3 40 14 90 42 92 14...
output:
Putata Budada Budada Budada Budada Budada Budada Budada Budada Putata Putata Budada Budada Budada Putata Budada Putata Budada Budada Putata Putata Budada Putata Putata Budada Putata Budada Budada Budada Budada Putata Putata Budada Putata Budada Budada Putata Putata Putata Budada Putata Putata Putata...
result:
ok 50000 lines
Test #6:
score: 0
Accepted
time: 4ms
memory: 3584kb
input:
100 50000 eymnforxpypeiqfjxbcovabrqwamuesghpjtthiuhjufkvlanwlsnfxganszsibzlmhwffsgrzieijfqzynzfcjccrkzauscuwuc 61 77 80 89 1 71 18 59 38 81 61 97 70 72 33 79 43 54 29 97 2 19 19 35 30 73 20 77 80 90 69 89 10 96 53 65 50 63 92 100 13 13 21 87 4 5 10 26 39 79 9 19 49 90 79 95 49 74 26 98 74 85 32 81 2...
output:
Putata Budada Putata Budada Budada Putata Putata Putata Budada Putata Budada Putata Budada Budada Putata Putata Putata Putata Budada Putata Budada Putata Budada Putata Putata Putata Budada Putata Budada Putata Budada Budada Budada Putata Putata Budada Putata Budada Budada Putata Putata Budada Budada...
result:
ok 50000 lines
Test #7:
score: 0
Accepted
time: 198ms
memory: 31104kb
input:
1000000 1000000 cggggcggcccccccggggcggccgggcccggcggcgccgggccgggcgccggggggccggggccccgccgggggcgcggggccggcccgcccggccccgcggccgcgggccggggcgcgcgcccggccccggggccgcggggggggccggggccccggccgggcgcccggcgcgcccgggcgcggcgccgcccggcggcgccgcgcgggccccccgcgcccggggccggggcgcggccccgcggcgccgcgggccgcgggggcgcgcggccggggcgggccgc...
output:
Putata Budada Putata Budada Budada Budada Putata Budada Putata Budada Putata Budada Putata Putata Budada Putata Budada Putata Budada Putata Putata Putata Putata Budada Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Budada Putata Budada Putata Budada Putata Budada Putata Budada...
result:
ok 1000000 lines
Test #8:
score: 0
Accepted
time: 200ms
memory: 32460kb
input:
1000000 1000000 uvzuyzqytmbyyqqmzubpzqmybvvepqybemqtbeuvqbpeuyqvzppztubpbzbztemezptuvutbmyeppmtpputquumtezztvqtzbuvuymzmztpmqyezqzvqmpeeevepquqevqeemmubtqyuzetqtzveqqvymyemyvzpmmzmybtymbzeytzzbymzuebvtppqumtbqpetezqvvztepuuevtymptbevbuvyqbmeqpzeutybmtmuqvvmymvqbpyymvvyyzyqyqzbvvqpzyzzumptpzbbbebtpee...
output:
Budada Budada Putata Putata Putata Budada Budada Putata Budada Putata Putata Budada Budada Budada Budada Putata Budada Putata Budada Budada Putata Putata Putata Putata Budada Budada Putata Budada Budada Budada Budada Putata Putata Budada Putata Budada Putata Budada Budada Budada Budada Budada Putata...
result:
ok 1000000 lines
Test #9:
score: 0
Accepted
time: 196ms
memory: 32600kb
input:
1000000 1000000 pzhefraxqetxshnoslftyuvwzpcpihoorxdzukhtonwobduzpzloyafipdfzrhbgdlrkfjdfkorbsngvsqnjdkkoumljcyqmmdmdeojeizjdvvmqlyktjacnyziurjkeshxsqfrzbkzsjzkeiezocmxnexlkxhjntauibhuejpearqfnhaagubydmkhumqxzmvihzugnkbbdndeioxaykjfzipfzprbpsgljgvdyoqkzwshdkpmzxrbufdbiqempwmqkdgiujpczresfqsstnavmnceg...
output:
Putata Budada Budada Budada Putata Budada Budada Budada Budada Budada Putata Budada Budada Budada Putata Budada Budada Budada Putata Budada Putata Budada Budada Putata Budada Budada Putata Budada Putata Putata Budada Budada Budada Putata Budada Budada Budada Putata Budada Putata Putata Budada Putata...
result:
ok 1000000 lines
Test #10:
score: 0
Accepted
time: 193ms
memory: 32968kb
input:
1000000 1000000 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #11:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
1215 243 sssssssssnsssswsssnssssnnsssnwssswsssswnssswwssnssssnsnssnswssnnsssnnnssnnwssnwsssnwnssnwwsswsssswsnsswswsswnssswnnsswnwsswwssswwnsswwwsnssssnssnsnsswsnsnssnsnnsnsnwsnswssnswnsnswwsnnsssnnsnsnnswsnnnssnnnnsnnnwsnnwssnnwnsnnwwsnwsssnwsnsnwswsnwnssnwnnsnwnwsnwwssnwwnsnwwwswsssswssnswsswswsnss...
output:
Budada Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata...
result:
ok 243 lines
Test #12:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
896 128 dddddddddddddwdddddwddddddwwddddwddddddwdwddddwwdddddwwwdddwddddddwddwdddwdwddddwdwwdddwwdddddwwdwdddwwwddddwwwwddwddddddwdddwddwddwdddwddwwddwdwddddwdwdwddwdwwdddwdwwwddwwdddddwwddwddwwdwdddwwdwwddwwwddddwwwdwddwwwwdddwwwwwdwddddddwddddwdwdddwddwdddwwdwddwdddwddwdwdwddwwddwddwwwdwdwddddwdwd...
output:
Budada Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Budada...
result:
ok 128 lines
Test #13:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
375 125 nnnnncnninnonnvncnnccncinconcvninnicniinionivnonnocnoinoonovnvnnvcnvinvonvvcnncnccnicnocnvccnccccciccoccvcincicciiciocivconcoccoicoocovcvncvccvicvocvvinninciniinoinvicnicciciicoicviiniiciiiiioiivioniocioiiooiovivnivciviivoivvonnonconionoonvocnoccociocoocvoinoicoiioiooivoonoocooiooooovovnovco...
output:
Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata Putata Putata Putata Budada Putata...
result:
ok 125 lines
Test #14:
score: 0
Accepted
time: 7ms
memory: 20864kb
input:
590490 59049 dddddddddddddddddddodddddddddtddddddddodddddddddooddddddddotddddddddtdddddddddtoddddddddttdddddddodddddddddododddddddodtdddddddooddddddddooodddddddootdddddddotddddddddotodddddddottdddddddtdddddddddtdodddddddtdtdddddddtoddddddddtoodddddddtotdddddddttddddddddttodddddddtttddddddodddddddddo...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 59049 lines
Test #15:
score: 0
Accepted
time: 5ms
memory: 18292kb
input:
491520 32768 uuuuuuuuuuuuuuuuuuuuuuuuuuuuueuuuuuuuuuuuuueuuuuuuuuuuuuuueeuuuuuuuuuuuueuuuuuuuuuuuuuueueuuuuuuuuuuuueeuuuuuuuuuuuuueeeuuuuuuuuuuueuuuuuuuuuuuuuueuueuuuuuuuuuuueueuuuuuuuuuuuueueeuuuuuuuuuuueeuuuuuuuuuuuuueeueuuuuuuuuuuueeeuuuuuuuuuuuueeeeuuuuuuuuuueuuuuuuuuuuuuuueuuueuuuuuuuuuueuueuuu...
output:
Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata...
result:
ok 32768 lines
Test #16:
score: 0
Accepted
time: 9ms
memory: 20472kb
input:
546875 78125 kkkkkkkkkkkkkbkkkkkkqkkkkkknkkkkkkhkkkkkbkkkkkkbbkkkkkbqkkkkkbnkkkkkbhkkkkkqkkkkkkqbkkkkkqqkkkkkqnkkkkkqhkkkkknkkkkkknbkkkkknqkkkkknnkkkkknhkkkkkhkkkkkkhbkkkkkhqkkkkkhnkkkkkhhkkkkbkkkkkkbkbkkkkbkqkkkkbknkkkkbkhkkkkbbkkkkkbbbkkkkbbqkkkkbbnkkkkbbhkkkkbqkkkkkbqbkkkkbqqkkkkbqnkkkkbqhkkkkbnk...
output:
Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata...
result:
ok 78125 lines
Test #17:
score: 0
Accepted
time: 1ms
memory: 4992kb
input:
52728 17576 iiiiihiidiitiijiiliigiiriifiiuiixiiqiisiioiiziieiimiiviiyiikiiwiiciipiiaiiniibihiihhihdihtihjihlihgihrihfihuihxihqihsihoihziheihmihvihyihkihwihcihpihaihnihbidiidhiddidtidjidlidgidridfiduidxidqidsidoidzideidmidvidyidkidwidcidpidaidnidbitiithitdittitjitlitgitritfituitxitqitsitoitziteitmitv...
output:
Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Budada Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata Putata...
result:
ok 17576 lines
Test #18:
score: 0
Accepted
time: 3ms
memory: 8272kb
input:
114244 28561 qqqqqqqnqqqeqqqgqqqzqqqtqqqiqqquqqqoqqqcqqqkqqqjqqqmqqnqqqnnqqneqqngqqnzqqntqqniqqnuqqnoqqncqqnkqqnjqqnmqqeqqqenqqeeqqegqqezqqetqqeiqqeuqqeoqqecqqekqqejqqemqqgqqqgnqqgeqqggqqgzqqgtqqgiqqguqqgoqqgcqqgkqqgjqqgmqqzqqqznqqzeqqzgqqzzqqztqqziqqzuqqzoqqzcqqzkqqzjqqzmqqtqqqtnqqteqqtgqqtzqqttqqt...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 28561 lines
Test #19:
score: 0
Accepted
time: 11ms
memory: 15496kb
input:
334084 83521 bbbbbbbpbbbxbbbabbbubbblbbbkbbbgbbbibbbqbbbcbbbzbbbdbbbybbbvbbbnbbbfbbpbbbppbbpxbbpabbpubbplbbpkbbpgbbpibbpqbbpcbbpzbbpdbbpybbpvbbpnbbpfbbxbbbxpbbxxbbxabbxubbxlbbxkbbxgbbxibbxqbbxcbbxzbbxdbbxybbxvbbxnbbxfbbabbbapbbaxbbaabbaubbalbbakbbagbbaibbaqbbacbbazbbadbbaybbavbbanbbafbbubbbupbbuxbbu...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 83521 lines
Test #20:
score: 0
Accepted
time: 174ms
memory: 31560kb
input:
1000000 1000000 cttcttccccttccttctttcctctttttctcctttcttctctcctcttcccctttttctttttttctccccttccctctcttccctttttttcttcccttctcctcttccccctttttccccttccttctcctcccttccttcttcctttccctcctttcccttcctccctttttctcctctcttctcccttccctccttctctcccctctttctcctcccttccccttctttccctcctttctcctccctttttttctttcctttccccttttcttctttct...
output:
Budada Budada Putata Budada Putata Budada Budada Budada Putata Budada Putata Budada Budada Putata Budada Budada Putata Putata Putata Putata Putata Putata Budada Budada Putata Putata Putata Budada Budada Budada Putata Putata Budada Putata Putata Putata Putata Budada Putata Budada Putata Putata Budada...
result:
ok 1000000 lines
Test #21:
score: 0
Accepted
time: 171ms
memory: 32460kb
input:
1000000 1000000 gwjagdufrwtuyajshoofeiqhlsnpbherujjfabpeljlesmpqyisqxdfotfetvfwnafjnhzaqvfvqrjrfvqmvlrtounimgsvzibhynyhggbozgmydnurshwpxylvftehamypjocuradwyyysoyrltxpiobumxrzukzxvmimchyutagtgqqyfqsbyoqpfinuxrnunbsvqpxoefkwuvecyibtkgilrkerdtublwzookwihrnshqxurgtidtctopwbhnsmkvptfpqhxwzesvfzpvmlvduzls...
output:
Budada Budada Budada Putata Putata Putata Putata Putata Budada Budada Putata Putata Budada Putata Budada Budada Putata Putata Putata Budada Putata Budada Putata Putata Putata Budada Budada Putata Budada Putata Putata Putata Putata Budada Budada Budada Budada Budada Putata Putata Putata Budada Budada...
result:
ok 1000000 lines
Test #22:
score: 0
Accepted
time: 112ms
memory: 31716kb
input:
1000000 1000000 vwfjcgpsstefpgwruhdbrmkpzndtqkxmafjpiyptlcxlmqkrtshucndhqilbuljjnsdgoydopioudkbfjydrubawrfgwpjvcaadzykxoddkchlnickzkllidewjaooyiyegafelrkdttbawyttkizxhftnfrunmjwnxditodrnjjvhnqkuqfxxjyfemodgcnmhljaitmvqphfsyreqqfciafgbjvjzkljrwmpticedxnykkgjrappwszuieflziwuajiempipzcpxabxjcrlodlwrpqp...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #23:
score: 0
Accepted
time: 196ms
memory: 31696kb
input:
1000000 1000000 lweybtgdssotdhmvqcaqbaxuntkwzwmlujhmwbughbcfmuawcgzhirwlwlrpbddfyskztmjgoijgcxznervefsjdepyfzgkujqqmkonzpnfggctzkiantcihrjidvfrnsfzegqtslvunlazzhzcfcfzudwktkwuasidwmdyzpjtmaecefcimjcoruxrbbruoozljrbvymhfwnkxantpizwseifyzltvjgeqnhktvbergwtbneqfhgvpqlomglmagmddjbfhkeuihjbrbyifsvwqkfhwm...
output:
Budada Putata Putata Putata Budada Putata Putata Budada Putata Putata Putata Putata Putata Putata Budada Budada Putata Budada Budada Budada Budada Putata Budada Putata Putata Budada Putata Budada Budada Putata Budada Putata Putata Budada Budada Budada Budada Putata Budada Budada Putata Putata Putata...
result:
ok 1000000 lines
Test #24:
score: 0
Accepted
time: 192ms
memory: 32132kb
input:
1000000 1000000 nitcrfidxlortweytvtbdgqebammwelaodxkaoydleesbxyqrvetintiwfsxdtwzuovuekcmzywtyptwumwatbkbufdjndvvdjplzvydubuvenjlutvdrxyqcvoxhrsochecnpgwmilbcdpydjsxnnzjaczezdsioxogfkxuphfmgzaumeobrwxbbgizcywqdimgbbifdymdvdwcbuouqcexpwstmfaytjnatpyusvhlawfcfcntgenelarskmsxocepvydktavaxkleklwhjevfaepg...
output:
Budada Putata Putata Putata Budada Putata Budada Putata Budada Putata Putata Putata Budada Budada Putata Putata Putata Putata Putata Putata Putata Budada Budada Putata Budada Putata Budada Budada Budada Putata Budada Putata Putata Putata Putata Budada Budada Putata Budada Putata Budada Budada Budada...
result:
ok 1000000 lines
Test #25:
score: 0
Accepted
time: 194ms
memory: 31944kb
input:
1000000 1000000 nfmfztlffsfhsgkhxsxdravthpwbfywbfqxgjhzdewxypokfuogxvhcjeqtryztirqfmfvblmikakscrevlstywhfljtinkjflogtmpkwarhxznhrbkjridkymxuvnxwnjxavcjfoqepyqtytfeowglldlvldzxzkphhaudskilskikzdgumpnmngzepoysczjwxeyqkerblyheonbujhzatyxsxzzqkdilnpfurspiohikphqasrswwmadvjlskdejuvcaajzckfidtsvicqwjaejok...
output:
Putata Budada Budada Budada Budada Budada Budada Budada Budada Budada Putata Budada Putata Budada Putata Budada Budada Putata Putata Putata Putata Budada Budada Budada Budada Budada Putata Budada Budada Putata Putata Budada Putata Putata Putata Budada Putata Putata Putata Budada Putata Budada Budada...
result:
ok 1000000 lines
Test #26:
score: 0
Accepted
time: 210ms
memory: 32072kb
input:
1000000 1000000 lnlkjqiflqnulqopfrihhzajazhhirfpoqlunqlfiqjkdddtcriddlxaaxlddirctdiwfcyuamxljffjlxmauycfwirwsdeksuglhddhlguskedswrvlnjjnlvsxsyliewtlajldoljgvsjyzigrgizyjsvgjlodljaltweilysxihbbqozyrurmmruryzoqbbhipgiiachlcizlvtummutvlziclhcaiigpbpspbxgonnqfqzblesatmsbnehskzlixieylohoqbfxyzqexsuyrqetl...
output:
Putata Budada Budada Budada Budada Putata Budada Putata Budada Budada Putata Budada Putata Putata Putata Putata Putata Budada Budada Budada Budada Putata Budada Putata Putata Putata Budada Putata Putata Budada Budada Budada Budada Putata Budada Putata Budada Putata Budada Budada Putata Budada Putata...
result:
ok 1000000 lines
Test #27:
score: 0
Accepted
time: 194ms
memory: 32040kb
input:
1000000 1000000 amnedmfpmydgvgypemxzufglqdzblolhzrzeadthsoiebuqchdbiwtzofglngvmatuollusdjnmllnntmevpkuyhzpykspttijycxacmxiuuoytrkilfpvoleuwwdycrdupsqfvoathyrtyispbjdifkfqmrapegoqslygwomlshkwbrdmbswmhcaswfypquepsbfklsngswcqdwvckptgkjtmqwmrplbybezxuoxhvpnvmnnbgwidnjkhgafxziqbjjpclvxqvlpvmyvhhvbjuzlxop...
output:
Budada Budada Putata Putata Putata Budada Putata Putata Putata Putata Budada Budada Budada Putata Putata Budada Budada Putata Putata Budada Putata Budada Putata Putata Putata Budada Budada Putata Budada Putata Putata Budada Budada Putata Budada Putata Putata Budada Budada Putata Putata Budada Budada...
result:
ok 1000000 lines
Test #28:
score: 0
Accepted
time: 120ms
memory: 32724kb
input:
1000000 1000000 isjehtgyeamxvjufwddcfsgntiyfsyvdilrkgjmkgwmtojbxlsczpqhsvhxmwuadmjrhdvmskfgveftcwyxztvnxawfxiopputasmkaivmbajqjssgcvlrimcwlyajemfubjqoajbsryborckvymgvjfxjdrvbsvymcmbohxxwulhcdaeeyroosvaogbzimpatcjbjfkusihcdelcwjeyzcpsvzqrhqxogharjrqkusuveqdnuskaxukbnkxqejlmpsuewdvhtbfgcvxetfwtochdflm...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Putata Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #29:
score: 0
Accepted
time: 104ms
memory: 32668kb
input:
1000000 1000000 hupoijxxlrmlcntigqkgvzdvstkmfvbyxjyxkkiglyleebtnszksqescxscasujerkpcmvkljhmgplgwmapgjguhdkiictweqjbgkeykqknaqazvhbqxbmkmbvsvqtmwycbfpjprvypirkrhricuthhixcknkuackuclgndhprqgwvvlvribvteqpgxiyibobphpbntjqilhtsxxkeucihcdgifrrayzeycyvqmuthsryxospjanaezalorplhqatwcftywmdnqgkdjrfvhutzmeybpv...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #30:
score: 0
Accepted
time: 106ms
memory: 32528kb
input:
1000000 1000000 pbtzpbogvadzkvtmojjbvqnwfmjddgpunkihnxdtnedhypwqnxupgwomsvxipiwxpcevxvsoperceagjnmzxuipswfstazlowpgjyaasxhacrccpmsjerswntkmercpxcntxutvfidodofkeaxszynlmmiuxlppuedpxmcbgukluqsngaavyaeywlvxxbzlbimzkkrcsobqzwfjtewlxhapfxhkbqnrgzoyiymkypnkyxhetcyknmyvyitvsnloienyoybadwfreisfzkielmrpvmgij...
output:
Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #31:
score: 0
Accepted
time: 151ms
memory: 32344kb
input:
1000000 1000000 yjjrxmeeickwwkcieemxrfgdwwdgfbwfwzodrrdozyzwrudcdurwzyeeayxzmopgnmkvvibgywzxlcsclxzwygbivvkmngpomzxyaugmbuopbxvkmbhwhbmkvxbpoubmguavxenjbcuzfbiswwsibfzucbjnexvaixsnyuynsxiivatmdsynfwbossobwfnysdmtaviqfdfctwtcfdfqimyskujuksymwmccmwcpyypcajjaiiyppeppypommopruuxohuhosffsigxmzhequkudbmvx...
output:
Budada Putata Budada Budada Budada Budada Budada Budada Budada Budada Putata Budada Budada Budada Budada Budada Budada Budada Budada Putata Budada Budada Putata Budada Budada Putata Budada Budada Budada Budada Budada Putata Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada Budada...
result:
ok 1000000 lines
Test #32:
score: 0
Accepted
time: 198ms
memory: 31368kb
input:
1000000 1000000 wwiszslsooswqwrwiffppyvevybbpdjhhduurxyxjdxxdgqagmzlhzpssiiafflomeuulwshhnnwbvkfkqqpxddubootnbeqegxfudmiaaplyqpfiifhgmgxyrczkdjjctiesnvwwxppdwyynnnnlkkjdcvpufubezzeuqsusqiaakffoomtylroeaaqhqzvvzczzydllgmtcczrbidppziditqkqivexinixehwwbbfzzkqvggfgooippqqnezeljdddfoofqiooxffxnuppwbycpbf...
output:
Putata Budada Budada Putata Putata Budada Putata Putata Putata Budada Budada Budada Putata Budada Budada Putata Budada Budada Budada Putata Putata Budada Budada Budada Budada Putata Budada Budada Budada Budada Putata Putata Budada Putata Putata Budada Budada Putata Budada Budada Budada Budada Budada...
result:
ok 1000000 lines