|
|
back to boardWA #8 java import static java.lang.Math.*; import java.util.*; public class UralSteaks { public static void main(String[] args) { Scanner in=new Scanner(System.in); int n,k; n=in.nextInt(); k=in.nextInt(); int t=(int)ceil(2*(float)n / (float)k); System.out.print(t); }
} help plz! Re: WA #8 java Posted by Эдуард 27 Jun 2015 18:24 check 1 2. Re: WA #8 java what if input 1,5 Re: WA #8 java Posted by Leftbot 23 Jan 2017 20:07 Thanks |
|
|