|
|
вернуться в форумI can't find wrong!! help me!! Послано Bobur 2 дек 2007 21:08 here is code of program! var n, k : integer; begin read(n, k); n := TRUNC(k*exp((n-1)*ln(k-1))); writeLn(n); end. if k = 10 and n = 3 then we can write that: 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 and 3 number maybe one of them. first number maybe all of them, second 9. third 9 too, |
|
|