Ozzy surfing around
taking notes about technology and daily things
Sunday, August 21, 2016
some study
I decided to study in hackerrank these days. just for practice and think more. for this question
https://www.hackerrank.com/challenges/staircase
java 7 solution
import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); for (int i = 1; i
at least there is not two for loop :)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment