MahmudulMaruf

Code · Faith · Curiosity

Blog Post

BeeCrowd 2388 - Tacógrafo

c �� 2023-01-06 10:49:16

c
Problem-> 2388 - Tacógrafo

Solution:

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n, t, v, sum=0;
    cin>>n;
    while(n--)
    {
        cin>>t>>v;
        sum+=(t*v);
    }
    cout<<sum<<endl;
    return 0;
}

Post Visited: 73 times

Categories: c

0 Comments

    No comments yet. Be the first to comment!

Leave a comment

Captcha