Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
sivan_iut
Feb 13th, 2020
42
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<stdio.h>
int
main
(
)
{
int
T
;
scanf
(
"%d"
,&
T
)
;
int
s
[
100
]
;
int
i
;
int
sum
=
0
;
for
(
i
=
0
;
i
<
T
;
i
++
)
{
scanf
(
"%d"
,&
s
[
i
]
)
;
}
for
(
i
=
0
;
i
<
T
;
i
++
)
{
sum
=
sum
+
i
;
}
printf
(
"%d"
,
sum
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
💲 G2A.com Free Gift Card Guide 08 June 2024🎁
GetText | 3 min ago | 0.36 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🎁
JavaScript | 3 min ago | 0.32 KB
Untitled
C# | 8 min ago | 1.68 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 9 min ago | 0.33 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 15 min ago | 0.33 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🎁
JavaScript | 22 min ago | 0.32 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🎁
JavaScript | 28 min ago | 0.32 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🎁
JavaScript | 34 min ago | 0.33 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!