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
KAKTUS_OK
No subject
[5] // Problem
1409. Two Gangsters
15 Jan 2008 18:51
KTO NIBUD PONIMAET, KAK EE RESHIT
jaggvdhdg
Re: No subject
[1] // Problem
1409. Two Gangsters
15 Jan 2008 18:52
net net net!!!!!
Mihail Nikalyukin(It-Team)
Re: No subject
// Problem
1409. Two Gangsters
21 Aug 2009 16:03
ololo
Doksim
Re: No subject
// Problem
1409. Two Gangsters
4 Mar 2013 01:49
ya ponimau i reshil
Doksim
Re: No subject
[1] // Problem
1409. Two Gangsters
4 Mar 2013 01:49
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
cout << --b << " " << --a;
return 0;
}
vot)
Aman
Re: No subject
// Problem
1409. Two Gangsters
6 Apr 2017 20:31
Let a and b be two input numbers. we just need to print a + b - a - 1, a + b - b - 1 as output. For this to understand we need to understand the basic arithmetic operator in c
http://www.techcrashcourse.com/2015/05/c-programming-arithmetic-operators.html
http://www.techcrashcourse.com/2014/10/c-program-add-two-numbers.html
http://www.techcrashcourse.com/2014/10/c-program-addition-subtraction-multiplication-division-modulus.html
http://www.techcrashcourse.com/2014/10/c-program-to-add-n-numbers.html
© 2000–2026
Timus Online Judge Team
. All rights reserved.