SOLUTION OF URI 1150 URI SOLUTIONS No comments // 1150 (Mahmud_Jamil) BRUR // Exceeding Z #include <stdio.h>int main(){ int a,b,c=0,x,z; scanf("%d", &x); do{ scanf("%d", &z); } while(x>=z); for(a=x,b=0; b<z; a++) { b+=a; c++; } printf("%d\n", c); return 0;} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook Related Posts:SOLUTION OF URI 1017 // question of uri 1017 Fuel Spent //1017 (Mahmud_Jamil) BRU… Read More SOLUTION OF URI 1016 // question of uri 1016 Distance // 1016 (Mahmud_Jamil) BRUR … Read MoreSOLUTION OF URI 1015 // question of uri 1015 Distance Between Two Points // 1015 (Mahmud_Jam… Read MoreSOLUTION OF URI 1014 // question of uri 1014 Consumption // 1014 (Mahmud_Jamil) BRUR #inc… Read MoreSOLUTION OF URI 1013 // question of uri 1013 The Greatest // 1013 (Mahmud_Jamil) BRUR #in… Read More
0 comments:
Post a Comment