Submit solution
Points:
100.00 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Problem type
Allowed languages
C++, Pascal, Python, Scratch
Comments
ai cho mình xin công thức với
n,A,B = [int(i) for i in input().split()] sd = 1+A sc = 1+B tong = 0 sh = n-sc t = sc-sd+1 tong = tsh+t(t+1)//2 print(tong)
╰❥13v31 34๖ۣۜ⁀ᶦᵈᵒᶫ
Bày tôi làm với
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
💙💙💙💙
ai có công thức toán bài này ko cho tui với
có ai đó giúp mình code scratch cách đặt n,A,B trên câu trả lời 1 dòng không ạ ? VD: in: 1 2 3; N = 1; a = 2; b = 3;
https://scratch.mit.edu/projects/711099412/ Bạn xem thử code này. Code này hơi dài nên bạn để riêng ra một mảnh ghép làm cho dễ nhé
Bài này có công thức đấy nhé!
This comment is hidden due to too much negative feedback. Show it anyway.
Ủa nếu như x < y thì làm sao x - y ? Phải là y - x chứ ?
vì thế nên đề bài mới cho x-y trong giá trị tuyệt đối ấy
This comment is hidden due to too much negative feedback. Show it anyway.