Add tags

Add tags to the following comment

標準入力から。

1
2
3
4
5
6
7
import std.stdio, std.conv, std.string;

void main() {
    int n = to!(uint)(chomp(readln));
    foreach(i; 1..n*2)
        writeln("*".repeat(i<n?i:2*n-i));
}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...