Algorithm of 11636 - Hello World!

Problem Description Link
Algorithm:
This is a simple problem just read carefully.
however you can follow this technique.
when you copy the existing line and pest them you get double line means for 1 time of copy you get double line.
1. get input n
2. let line=1; and copy=0
3. while line less than n
    line+=lene;
    copy+=1;
4. print the copy
image

No comments:

Post a Comment

Write your comment - Share Knowledge and Experience