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
1012
. K-based Numbers. Version 2
vano_B1
WHAT IDEA SOLVE THIS PROBLEM ??? I KNOW ONE, BUT...(SEE HERE)
[2] // Problem
1012. K-based Numbers. Version 2
14 Jul 2003 23:24
algoritm:
s:=0;
for i:=2 to n-1 do s:=s+(k-1)^(i-1)*k^(n-i-1);
write(s);
I think it isn't right algoritm (К тому же so long)
vano_B1
I got AC
[1] // Problem
1012. K-based Numbers. Version 2
16 Jul 2003 23:18
zzzlll
what is it meaning
// Problem
1012. K-based Numbers. Version 2
3 Jan 2007 22:09
what is the meaning of ^ ??????
© 2000–2026
Timus Online Judge Team
. All rights reserved.