Ads

Friday, May 8, 2020

URI Online Judge 1589 Bob Conduit solution

URI Online Judge | 1589 Bob Conduit 
By Bruno Adami, Universidade de São Paulo - São Carlos BR Brazil
 Timelimit: 1

Problem Description: 
Problem Number:1589 
Problem Name: Bob Conduit 
Author’s Name: Bruno Adami, Universidade de São Paulo - São Carlos BR Brazil
Timelimit: 1 
Problem Category: BEGINNER. 

#include <stdio.h>
int main()
{
    int T, R1, R2, x, y;
    scanf("%d", &T);
    for(x=1; x<=T; x++)
    {
        scanf("%d%d", &R1, &R2);
        y=R1+R2;
        printf("%d\n",y);
    }
    return 0;
}





0 comments:

Post a Comment