ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1409
. Two Gangsters
md adullah al mamun udoy
whats wrong with 10-b and 10-a
[1] // Problem
1409. Two Gangsters
27 Sep 2022 14:02
whats wrong with this logic?
cout<<10-a<<" "<<10-b<<endl;
Nuruddin
Re: The right logic is...
// Problem
1409. Two Gangsters
5 Jan 2023 23:38
All cans = Harry shot + Larry shot - 1;
Not shot by Harry = All cans - Harry shot;
Not shot by Larry = All cans - Larry shot;
Edited by author 05.01.2023 23:48
© 2000–2025
Timus Online Judge Team
. All rights reserved.