URI Solution 1585 Making Kites - Solution in C, C++ | Ad Hoc
URI Online Judge Solution 1585 Making Kites | Ad Hoc
URI Main Problem Link - https://www.urionlinejudge.com.br/judge/en/problems/view/1585
Problem Name: URI Problem 1585 Making Kites
Problem Number : URI Problem 1585 Making KitesSolution
Online Judge : URI Online Judge Solution
Level: Ad Hoc
Solution Language : C plus plus
URI Solution 1585 Making Kites Code in CPP:
URI 1585 Making Kites Solution in C:
#include <stdio.h> int main() { int i = 0, n, x, y; scanf("%i", &n); for (i = 0; i < n; ++i) { scanf("%i %i", &x, &y); printf("%d cm2\n", (x * y)/2); } return 0; }
URI 1585 Making Kites Solution in C:
#include <cstdio> using namespace std; int main() { int n, x, y; scanf("%i", &n); for (int i = 0; i < n; ++i) { scanf("%i %i", &x, &y); printf("%d cm2\n", (x * y)/2); } return 0; }
No comments:
Write commentsTo know more about the problem, give us your valuable commment. We'll try to help you. Thanks