Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @Akip1,validated by @peerdb,@Aksima and @The_Capra_Aegagrus_H.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @Akip1,validated by @peerdb,@Aksima and @The_Capra_Aegagrus_H.
If you have any issues, feel free to ping them.
@Akip1,@peerdb
Could anyone help me with test case âWhite ally down rightâ?
Iâm getting 21 and the expected output is 19, am I double counting some of them?
Controlled cells are marked with an âxâ
Input
white
........
........
........
.Q.....w
........
.ww.....
........
........
computed output
.x..x..
.x.x...
xxx.....
xQxxxxxw
xxx.....
.wwx....
.x..x...
.x...x..
Hi,
You canât move over another piece, the Queen doesnât control the two positions directly below after the other white piece.
.x.x...
xxx.....
xQxxxxxw
xxx.....
.wwx....
....x...
.....x..
I understand now, thanks for clarifying. Iâve resolved it!
Bonjour,
Mon programme est bon mais il nâaurait pas dĂ» lâĂȘtre car il me restait une sĂ©quence Ă Ă©crire pour traiter un dernier cas.
Celui oĂč la reine ne doit pas voir les piĂšces masquĂ©es en diagonale.
Câest un cas qui ne figure pas dans les jeux de test.
Etes-vous dâaccord avec moi ?
Hi,
My program is good, but it shouldnât have been, because I still had a sequence to write to deal with one last case.
The one where the queen must not see the diagonally masked pieces.
This is a case that doesnât appear in the test games.
Do you agree with me?
Any examples?