Month: January 2015
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);…
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 …
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 …
Solution: Here calculate the product means multiplication.So i have made multiplication with mul variable #include<stdio.h> int main()…
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…
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…
Recent Comments