QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#231977 | #7637. Exactly Three Neighbors | ucup-team1281 | AC ✓ | 47ms | 3824kb | C++23 | 3.2kb | 2023-10-29 18:34:12 | 2023-10-29 18:34:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3536kb
input:
2 3
output:
4 6 ###... ###... #.#### #.####
result:
ok good solution
Test #2:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
1 1
output:
-1 -1
result:
ok no solution
Test #3:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
3 4
output:
4 4 ###. ###. #.## #.##
result:
ok good solution
Test #4:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
3 5
output:
4 10 ###....... ###....... #.######## #.########
result:
ok good solution
Test #5:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
4 5
output:
5 5 .#### ###.# #.### ####. ##.##
result:
ok good solution
Test #6:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
7 10
output:
4 5 ###.. ###.. #.### #.###
result:
ok good solution
Test #7:
score: 0
Accepted
time: 11ms
memory: 3748kb
input:
5 7
output:
7 6 ####.. ###### ....## ###### ####.. #..### #..###
result:
ok good solution
Test #8:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
7 9
output:
18 6 ..#### ###.## #####. #..### ####.# .##### ##..## #####. #.#### ###..# .##### ##.### ####.. #.#### ###.## .####. ##.### ####.#
result:
ok good solution
Test #9:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
0 1
output:
1 1 .
result:
ok good solution
Test #10:
score: 0
Accepted
time: 11ms
memory: 3600kb
input:
1 2
output:
24 5 ###.. ##### ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ##### ###.. #.### #.###
result:
ok good solution
Test #11:
score: 0
Accepted
time: 11ms
memory: 3764kb
input:
1 3
output:
60 7 #####.. ####### .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....##...
result:
ok good solution
Test #12:
score: 0
Accepted
time: 11ms
memory: 3528kb
input:
1 4
output:
112 9 #######.. ######### .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......## .......
result:
ok good solution
Test #13:
score: 0
Accepted
time: 11ms
memory: 3780kb
input:
1 5
output:
180 11 #########.. ########### .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## .........## ........
result:
ok good solution
Test #14:
score: 0
Accepted
time: 11ms
memory: 3596kb
input:
1 6
output:
264 13 ###########.. ############# ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........## ...........##...
result:
ok good solution
Test #15:
score: 0
Accepted
time: 11ms
memory: 3532kb
input:
1 7
output:
364 15 #############.. ############### .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## .............## ........
result:
ok good solution
Test #16:
score: 0
Accepted
time: 11ms
memory: 3816kb
input:
1 8
output:
480 17 ###############.. ################# ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ...............## ........
result:
ok good solution
Test #17:
score: 0
Accepted
time: 12ms
memory: 3628kb
input:
1 9
output:
612 19 #################.. ################### .................## .................## .................## .................## .................## .................## .................## .................## .................## .................## .................## .................## ................
result:
ok good solution
Test #18:
score: 0
Accepted
time: 12ms
memory: 3536kb
input:
1 10
output:
760 21 ###################.. ##################### ...................## ...................## ...................## ...................## ...................## ...................## ...................## ...................## ...................## ...................## ...................## ..........
result:
ok good solution
Test #19:
score: 0
Accepted
time: 11ms
memory: 3752kb
input:
2 5
output:
40 6 ####.. ###### ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ###### ####.. #..### #..###
result:
ok good solution
Test #20:
score: 0
Accepted
time: 11ms
memory: 3596kb
input:
2 7
output:
84 8 ######.. ######## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......## ......#...
result:
ok good solution
Test #21:
score: 0
Accepted
time: 11ms
memory: 3824kb
input:
2 9
output:
144 10 ########.. ########## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ........## ..........
result:
ok good solution
Test #22:
score: 0
Accepted
time: 11ms
memory: 3592kb
input:
3 7
output:
84 5 ###.. ##### ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ....
result:
ok good solution
Test #23:
score: 0
Accepted
time: 11ms
memory: 3532kb
input:
3 8
output:
64 6 ####.. ###### ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....## ....
result:
ok good solution
Test #24:
score: 0
Accepted
time: 11ms
memory: 3824kb
input:
3 10
output:
200 7 #####.. ####### .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....## .....#...
result:
ok good solution
Test #25:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
4 7
output:
4 14 ###........... ###........... #.############ #.############
result:
ok good solution
Test #26:
score: 0
Accepted
time: 11ms
memory: 3584kb
input:
4 9
output:
54 5 ###.. ##### ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ...## ....
result:
ok good solution
Test #27:
score: 0
Accepted
time: 46ms
memory: 3532kb
input:
5 6
output:
-1 -1
result:
ok no solution
Test #28:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
5 8
output:
4 8 ###..... ###..... #.###### #.######
result:
ok good solution
Test #29:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
5 9
output:
4 18 ###............... ###............... #.################ #.################
result:
ok good solution
Test #30:
score: 0
Accepted
time: 46ms
memory: 3608kb
input:
6 7
output:
-1 -1
result:
ok no solution
Test #31:
score: 0
Accepted
time: 43ms
memory: 3552kb
input:
7 8
output:
-1 -1
result:
ok no solution
Test #32:
score: 0
Accepted
time: 47ms
memory: 3532kb
input:
8 9
output:
-1 -1
result:
ok no solution
Test #33:
score: 0
Accepted
time: 43ms
memory: 3548kb
input:
9 10
output:
-1 -1
result:
ok no solution
Extra Test:
score: 0
Extra Test Passed