Category: UVa

11
Jun
2017

10579 Fibonacci Numbers

code: import java.math.BigInteger; import java.util.Scanner; /** * Created by Zaki on 6/11/2017. */ public class Uva_Fibonacci {…

11
Jun
2017

10523 – Very Easy !!!

C++ Code: But it will not work as c++ don’t support BigIntger so we have to write…

17
Mar
2016

UVA 12798 – Handball Solution

My code: #include<bits/stdc++.h> using namespace std; int main() { int n,m,i,j; while(scanf(“%d %d”,&n,&m)==2) { int cnt=0; for(i=0;…

12
Mar
2016

UVA 12541-Birthdates Solutions

Took hints from here: http://www.outsbook.com/uva/?page=latest_post&category=-1&id=12541 and https://github.com/morris821028/UVa/blob/master/volume125/12541%20-%20Birthdates.cpp Code: #include<bits/stdc++.h> using namespace std; int main() { //freopen(“in.txt”,”r”,stdin); int n,i;…

06
Mar
2016

UVA Solution 11547 – Automatic Answer

Editorial: Actually I was facing the problem how can make the second digit from the left that…

06
Mar
2016

UVA solution 11455 – Behold my quadrangle

Editorial: we need to read those : https://en.wikipedia.org/wiki/Quadrilateral https://www.mathsisfun.com/quadrilaterals.html And one thing to be remebered that to…