Showing posts with label URI SOLUTION. Show all posts
Showing posts with label URI SOLUTION. Show all posts
Monday, February 12, 2018
URI Problem 1005 Average 1 Solution in C
#include<stdio.h>
https://www.youtube.com/channel/UCYMYpJYj_L28VkddlCujabw
**IF YOU DON'T UNDERSTAND PLEASE SEE THE VIDEO SOLUTION, AND PLEASE SUBSCRIBE MY CHANNEL AND LIKE,SHARE ALSO.**Saturday, February 10, 2018
URI online judge problem 1004
Code:
#include<stdio.h>
int main()
{
int a,b,product;
scanf("%d %d",&a,&b);
product=a*b;
printf("PROD = %d\n",product);
return 0;
}
IF YOU DON'T UNDERSTAND THIS CODE PLEASE WATCH THIS VIDEO,AND PLEASE SUBSCRIBE MY CHANNEL & LIKE,SHARE MY VIDEO.THANK YOU
URI problem 1003
Code:
#include<stdio.h>
int main()
{
int A,B,sum;
scanf("%d %d",&A,&B);
sum=A+B;
printf("SOMA = %d\n",sum);
return 0;
}
IF YOU DON'T UNDERSTAND PLEASE WATCH MY VIDEO ON YOUTUBE AND PLEASE SUBSCRIBE MY CHANNEL AND LIKE,COMMENT & SHARE PLEASE.URI problem 1002 Solution
Code:
#include <stdio.h>
int main()
{
double A,R;
scanf("%lf",&R);
A = 3.14159 *(R * R);
printf("A=%0.4lf\n",A);
return 0;
}
int main()
{
double A,R;
scanf("%lf",&R);
A = 3.14159 *(R * R);
printf("A=%0.4lf\n",A);
return 0;
}
Friday, November 24, 2017
1180 Lowest Number and Position
URI Online Judge | 1180
Lowest Number and Position
Adapted by Neilor Tonin, URI
Brazil

Timelimit: 1
Write a program that reads a number N. This N is the size of a array X[N]. Next, read each of the numbers of X, find the smallest element of this array and its position within the array, printing this information.
Input
The first line of input contains one integer N (1 < N <1000), indicating the number of elements that should be read to an array X[N] of integer numbers. The second row contains each of the N values, separated by a space.
Output
The first line displays the message “Menor valor:” followed by a space
and the lowest number read in the input. The second line displays the
message “Posicao:” followed by a space and the array position in which
the lowest number is, remembering that the array starts at the zero
position.
Input Sample
10
|
Output Sample
Menor valor: -5
|
Solution:
#include<stdio.h>
|
Subscribe to:
Posts (Atom)
Featured Post
-
//**Before starting the installation please disconnect your all wired or wireless connection having internet access**// • Fi...