QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#867990 | #9689. 伪伪随机 | lgvc# | 5 | 44ms | 4480kb | C++23 | 324b | 2025-01-24 10:43:21 | 2025-01-24 10:43:23 |
Judging History
answer
#include "prg.h"
int solve(int n, int m, int k, std::vector<int> op, std::array<std::vector<int>, 3000> x,
int c, std::array<std::array<int, 3000>, 25> s) {
int as=0;
for(int i=1;i<=25;i++) {
for(int j=1;j<=3000;j++) {
if(s[i-1][j-1]==1) as++;
}
}
if(as<=20000||as>=55000) return 2;
return 1;
}
詳細信息
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
15478345200793503450 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #2:
score: 5
Accepted
time: 33ms
memory: 4480kb
input:
8777328773999050296 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #3:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
8306860370301473558 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #4:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
7355535262167792602 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #5:
score: 5
Accepted
time: 36ms
memory: 4480kb
input:
5901033176077457090 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #6:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
6725216784977925179 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #7:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
15228205213107479514 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #8:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
10794704323727532585 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #9:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
1531863096801291235 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #10:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
12583269177593428071 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #11:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
17884260014537450829 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #12:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
5598933293992250528 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #13:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
15029988260575536839 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #14:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
18435900855108017468 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #15:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
4740054765891404200 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #16:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
14854659461851577578 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #17:
score: 5
Accepted
time: 35ms
memory: 4480kb
input:
11860421814773748892 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #18:
score: 5
Accepted
time: 32ms
memory: 4480kb
input:
2618043996784533224 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #19:
score: 5
Accepted
time: 34ms
memory: 4352kb
input:
4729099511370153840 1237460 18364524 21312414
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Test #20:
score: 5
Accepted
time: 34ms
memory: 4480kb
input:
6142100148239098773 1237460 18364524 21312413
output:
126534127
result:
ok Perfect. Correct in 100 tests.
Subtask #2:
score: 0
Wrong Answer
Test #21:
score: 0
Wrong Answer
time: 38ms
memory: 4480kb
input:
15644456504653888385 1237461 18364524 21312413 32673238
output:
126534109
result:
points 0.0 Correct Answer. Correct in 50 tests.
Subtask #3:
score: 0
Wrong Answer
Test #41:
score: 0
Wrong Answer
time: 44ms
memory: 4480kb
input:
18096446825184275106 1237458 18364525
output:
126534135
result:
points 0.0 Correct Answer. Correct in 76 tests.
Subtask #4:
score: 0
Wrong Answer
Test #61:
score: 0
Wrong Answer
time: 44ms
memory: 4480kb
input:
6934415118162240981 1237458 18364524 21312414 32673238 236176120
output:
126534100
result:
points 0.0 Correct Answer. Correct in 41 tests.