QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#877327#9065. Acceptable Seating ArrangementsHuangHanShengWA 1ms3584kbC++231.6kb2025-01-31 21:17:362025-01-31 21:17:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

4
2 2 1 1
1 3 1 2
2 3 1 3
2 2 2 1

result:

wrong answer unacceptable permutation