Category: Problem Solution

09
Jan
2015

URI Online Judge Solution | 1009 Salary with Bonus

Problem:https://www.urionlinejudge.com.br/judge/en/problems/view/1009 Solution:First I thought it is about gross margin but after searching in net i have come…

08
Jan
2015

URI Online Judge Solution| 1007 Difference

Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/1007 Solution: #include<stdio.h> int main() { int a,b,c,d,difference; scanf(“%d %d %d %d”,&a,&b,&c,&d); difference=((a*b)-(c*d)); printf(“DIFERENCA = %d\n”,difference);…

08
Jan
2015

URI Online Judge Solution | 1006 Average 2

Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/1006 Solution: It also use weighted average/mean You can check this link for weighted mean  …

08
Jan
2015

URI Online Judge Solution| 1005 Average 1

Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/1005 Solution: It actually use weighted average/mean You can check this link for weighted mean  …

08
Jan
2015

URI Online Judge Solution | 1004 Simple Product

Solution: Here calculate the product means multiplication.So i have made multiplication with mul variable #include<stdio.h> int main()…

07
Jan
2015

URI Online Judge Solution | 1002 Area of a Circle

Problem Link:https://www.urionlinejudge.com.br/judge/en/problems/view/1002 Solution: You have to work here with double %lf because if you use float %f…