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
Discussion of Problem
A
. Toxic Eruption
Show all threads
Hide all threads
Show all messages
Hide all messages
How to make it even easier?
Megapolice
A
. Toxic Eruption
31 Oct 2012 21:35
1
How to make it even easier?
Megapolice
31 Oct 2012 21:35
var
a,b,c,d:integer;
begin
read(a,b,c,d);
if ((a-b=0)or(a-c=0)or(a-d=0))
and((b-a=0)or(b-c=0)or(b-d=0))
and((c-a=0)or(c-b=0)or(c-d=0))
and((d-a=0)or(d-b=0)or(d-c=0)) then
writeln('yes')
else
writeln('no');
end.
Admins, please, insert this problem to problem set
alexProgrammer
A
. Toxic Eruption
29 Oct 2012 13:40
2
Admins, please, insert this problem to problem set
alexProgrammer
28 Oct 2012 17:33
Re: Admins, please, insert this problem to problem set
Bogatyr
29 Oct 2012 13:40
Agreed, it is good to have some basic problems for beginners.
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2025
Timus Online Judge Team
. All rights reserved.