Hack
Now
EN
Login
Register
HackNow
Oraliq qo'shish so'rovlari (difference array) | HackNow
Go back
Reading Mode
Problem
Submissions
Oraliq qo'shish so'rovlari (difference array)
lock
UZ only
Qiyin
25 points
1500 ms
256 MB
Input format
Output format
Constraints
Examples
2
1
Example #1
Input
5 3 1 3 1 2 5 2 4 5 -3
Output
1 3 3 0 -1
2
Example #2
Input
3 1 1 3 5
Output
5 5 5
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit