ENG  RUSTimus 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 1225. Flags

what's answer if N==45 or N==5,6,7,8
Posted by Badd 21 Nov 2002 16:51
Re: what's answer if N==45 or N==5,6,7,8
Posted by boonserm 21 Nov 2002 20:26
It's mean you are checking condition if variable N = 45  or N = 5,6,7,8
then go to do statement below your condition
I just want to check my algorithm, what's about correct answer:?
Posted by Badd 22 Nov 2002 09:52
n=45 ,, ans = 2269806340
Posted by manishmmulani 31 Dec 2007 01:38
Re: what's answer if N==45 or N==5,6,7,8
N = 45 -> answer = 2269806340
N = 5 -> answer = 10
N = 6 -> answer = 16
N = 7 -> answer = 26
N = 8 -> answer = 42
Re: what's answer if N==45 or N==5,6,7,8
Posted by WorldWar3 5 Mar 2020 12:54
for 9,10,11 and 12?