QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#345741#8311. Game on Sequenceucup-team017#WA 1ms3864kbC++141.5kb2024-03-07 14:19:422024-03-07 14:19:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3764kb

input:

5 5
1 2 3 4 5
1 6
2 5
1 7
2 5
2 1

output:

Alice
Grammy
Alice

result:

ok 3 lines

Test #2:

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

input:

10 10
12 114 132 7 133 53 128 159 34 92
2 5
1 254
2 3
2 11
1 92
2 11
1 33
1 230
1 181
2 11

output:

Alice
Grammy
Alice
Alice
Alice

result:

ok 5 lines

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3864kb

input:

100 100
57 58 24 217 80 0 241 175 19 138 231 17 8 19 22 100 133 205 178 67 55 92 127 254 156 89 87 22 136 208 168 195 164 194 243 110 234 164 78 55 43 223 227 112 137 78 111 31 253 194 196 128 210 129 71 129 40 195 114 69 114 52 83 162 248 117 12 162 86 155 81 6 251 174 237 190 171 44 61 114 254 131...

output:

Grammy
Grammy
Grammy
Alice
Grammy
Grammy
Alice
Alice
Grammy
Alice
Grammy
Grammy
Grammy
Alice
Grammy
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Alice
Grammy
Alice
Alice
Grammy
Alice
Grammy
Alice
Grammy
Grammy
Alice
Alice
Alice
Grammy
Alice
Alice
Grammy
Grammy
Grammy
Alice
Alice
Grammy

result:

wrong answer 3rd lines differ - expected: 'Alice', found: 'Grammy'