Skip to main content
AuraEdu Online Judge
Practice
Playground
Contests
Rankings
Submissions
Community
Sign in
Sign up
Loading...
Problem
Editorial
Accepted Solutions
Problem discussion
Back
구간 갱신
Sign in to submit
Time Limit: 1000 ms
Memory Limit: 256 MB
Bronze III
2
Author: 관리자
e
e
e
v
v
v
−
1
000
≤
v
≤
1
000
-1\,000 \le v \le 1\,000
−
1
000
≤
v
≤
1
000
입출력 예시
입력
5 2 1 3 2 2 5 1
출력
2 3 3 1 1