QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#101362 | #4913. 子集匹配 | lingchen | 5 | 499ms | 19984kb | C++14 | 221b | 2023-04-29 11:31:39 | 2023-04-29 11:31:42 |
Judging History
answer
#include "hall.h"
// #include "grader.cpp"
bool b[1<<16];
int solve(int n,int K,int s)
{
for(int i=0; i<n; i++)
// if(((s>>i)&1)&&!b[s^(1<<i)])
{
// b[s^(1<<i)]=1;
return s^(1<<i);
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 2ms
memory: 3428kb
input:
14 8
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #2:
score: 0
Wrong Answer
time: 2ms
memory: 3492kb
input:
15 8
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3496kb
input:
15 9
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3536kb
input:
15 10
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 3556kb
input:
18 10
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #6:
score: 0
Wrong Answer
time: 5ms
memory: 3568kb
input:
19 10
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #7:
score: 0
Wrong Answer
time: 4ms
memory: 3596kb
input:
19 11
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #8:
score: 0
Wrong Answer
time: 1ms
memory: 3548kb
input:
19 12
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #9:
score: 0
Wrong Answer
time: 22ms
memory: 3992kb
input:
22 12
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #10:
score: 0
Wrong Answer
time: 41ms
memory: 4456kb
input:
23 12
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #11:
score: 0
Wrong Answer
time: 35ms
memory: 4564kb
input:
23 13
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #12:
score: 0
Wrong Answer
time: 28ms
memory: 4512kb
input:
23 14
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #13:
score: 0
Wrong Answer
time: 85ms
memory: 5540kb
input:
24 13
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #14:
score: 0
Wrong Answer
time: 184ms
memory: 7592kb
input:
25 13
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #15:
score: 0
Wrong Answer
time: 152ms
memory: 7628kb
input:
25 14
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #16:
score: 0
Wrong Answer
time: 111ms
memory: 7696kb
input:
25 15
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #17:
score: 0
Wrong Answer
time: 359ms
memory: 11580kb
input:
26 14
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #18:
score: 5
Accepted
time: 427ms
memory: 19920kb
input:
27 14
output:
OK
result:
ok "OK"
Test #19:
score: 0
Wrong Answer
time: 499ms
memory: 19900kb
input:
27 15
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'
Test #20:
score: 0
Wrong Answer
time: 450ms
memory: 19984kb
input:
27 16
output:
WA
result:
wrong answer 1st words differ - expected: 'OK', found: 'WA'