QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#101363#4913. 子集匹配lingchen0 2ms3556kbC++14218b2023-04-29 11:32:002023-04-29 11:32:02

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-04-29 11:32:02]
  • 评测
  • 测评结果:0
  • 用时:2ms
  • 内存:3556kb
  • [2023-04-29 11:32:00]
  • 提交

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;
}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3556kb

input:

14 8

output:

WA

result:

wrong answer 1st words differ - expected: 'OK', found: 'WA'

Test #2:

score: 0
Wrong Answer
time: 2ms
memory: 3540kb

input:

15 8

output:

WA

result:

wrong answer 1st words differ - expected: 'OK', found: 'WA'

Test #3:

score: 0
Wrong Answer
time: 1ms
memory: 3524kb

input:

15 9

output:

WA

result:

wrong answer 1st words differ - expected: 'OK', found: 'WA'

Test #4:

score: 0
Wrong Answer
time: 2ms
memory: 3524kb

input:

15 10

output:

WA

result:

wrong answer 1st words differ - expected: 'OK', found: 'WA'

Test #5:

score: 0
Runtime Error

input:

18 10

output:


result:


Test #6:

score: 0
Runtime Error

input:

19 10

output:


result:


Test #7:

score: 0
Runtime Error

input:

19 11

output:


result:


Test #8:

score: 0
Runtime Error

input:

19 12

output:


result:


Test #9:

score: 0
Runtime Error

input:

22 12

output:


result:


Test #10:

score: 0
Runtime Error

input:

23 12

output:


result:


Test #11:

score: 0
Runtime Error

input:

23 13

output:


result:


Test #12:

score: 0
Runtime Error

input:

23 14

output:


result:


Test #13:

score: 0
Runtime Error

input:

24 13

output:


result:


Test #14:

score: 0
Runtime Error

input:

25 13

output:


result:


Test #15:

score: 0
Runtime Error

input:

25 14

output:


result:


Test #16:

score: 0
Runtime Error

input:

25 15

output:


result:


Test #17:

score: 0
Runtime Error

input:

26 14

output:


result:


Test #18:

score: 0
Runtime Error

input:

27 14

output:


result:


Test #19:

score: 0
Runtime Error

input:

27 15

output:


result:


Test #20:

score: 0
Runtime Error

input:

27 16

output:


result: