#include <iostream>
using namespace std;
int main() {
int sum = 0;
for (int i = 1; i <= 100; i++) {
sum += i;
}
cout << "Sum of integers from 1 to 100 is: " << sum << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBpbnQgc3VtID0gMDsKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IDEwMDsgaSsrKSB7CiAgICAgICAgc3VtICs9IGk7CiAgICB9CiAgICBjb3V0IDw8ICJTdW0gb2YgaW50ZWdlcnMgZnJvbSAxIHRvIDEwMCBpczogIiA8PCBzdW0gPDwgZW5kbDsKICAgIHJldHVybiAwOwp9