sample java
Java
code posted
by
rr
created at 16 Feb 08:14, updated at 18 Feb 09:47
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 |
package com.Rinin.test; public class Monkey{ public static void main(String[] args){ int peaks = 1; for(int i=1;i<=10;i++){ peaks = (peaks + 1) << 1; } System.out.println("total:" + peak); } } |
216 Bytes in 2 ms with coderay