Untitled

Anonymous
plain_text
08/26/2024 6:28 PM
300 B
14
Indexable
#include <iostream>
#include <cmath>
using namespace std;
int main() {
    unsigned long long a, b;
    cin >> a >> b;
    long long ssh = (b - a)/1+1;
    unsigned long long tong = (a + b)*ssh/2; 
   cout << tong ;
Editor is loading...
Leave a Comment