#CCBCHBAHAI0000095. Mẫu int a[N] = {0} (The int a[N] = {0} Idiom)
Mẫu int a[N] = {0} (The int a[N] = {0} Idiom)
The int a[N] = {0} Idiom
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Consider a fixed-capacity numeric array with MAX_N = 1000 declared using the initializer {0}. The first element is explicitly initialized to , and every omitted element is also zero-initialized.
Given the logical size , print the first elements after the declaration.
Input
One line contains the integer .
Output
Print integers equal to on one line.
Subtasks
Subtask 1 (20 points): .
Subtask 2 (30 points): .
Subtask 3 (50 points): .
Examples
Input
5
Output
0 0 0 0 0
Explanation
The initializer {0} zero-initializes the entire numeric array. For , only through are part of the logical array, so five zeroes are printed.