Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem e: 输出数列1, -2, 3, -4, 5, -6...
Problem e: 输出数列1, -2, 3, -4, 5, -6...
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
1277
Solved:
1079
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入正整数N(N≤100),输出数列中的前N项。每个数占4个位置
Sample Input
Copy
5
Sample Output
Copy
1 -2 3 -4 5