We invite you to participate in CodeChef’s Starters 53, this Wednesday, 24th August, rated for Divs 2, 3 & 4 Coders.
Time: 8 PM — 11:00 PM IST
Setters: Utkarsh Utkarsh.25dec Gupta, S.Manuj DarkSparkle Nanthan, Abhinav abhinavvv306 Sharma, Abhinav abhi_inav Gupta, wuhudsm, Vikram vikram108 Singla, Yaswanth YPK Phani Kommineni
Admins: Utkarsh Utkarsh.25dec Gupta, Abhinav abhinavvv306 Sharma
Testers: Nishank IceKnight1093 Suresh, Tejas tejas10p Pandey
Statement Verifier: Kanhaiya notsoloud1 Mohan
Editorialist: Nishank IceKnight1093 Suresh
The written editorials will be available in the ‘Solutions’ tab of each problem once the contest ends.
The video editorials of the problems will be available for all users for 1 day as soon as the contest ends, after which they will be available only to Pro users.
Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.
Hope to see you participating. Good Luck!
Auto comment: topic has been updated by abhinavvv306 (previous revision, new revision, compare).
what a stupid problem
solution is ALL IFs
I used 3 queens for positions 2,7 7,7 2,2 and 7,2 and was failing a few test cases. Still don’t see how 2 is possible
It's always sufficient to use at most 2 queens.
For example:
1
5 3
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0
0 0 0 0 2 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
And:
1
2 2
0 0 0 0 2 0 0 0
0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
deleted
If you are truly trying to help, you should either email this to us, or post it after the contest is over. Right now, you are just making it easier for many others to cheat, which is moronic.
These questions are so classic that I'm a bit bored.
Rocket Pack was cool beans B)
Also
MAKEIT1
and other problems were also cool I think, at their respective positions. Enjoyed this contest a lot beyond the 3hrs time :)How do you solve MAKETIT1 ?