9 lines
94 B
Plaintext
9 lines
94 B
Plaintext
u32 c(u32 n) {
|
|
u32 sum = 0u32;
|
|
while(n > 0u32) {
|
|
sum += n;
|
|
n -= 1u32;
|
|
}
|
|
return sum;
|
|
}
|