Tuesday, 23 September 2014

Hackerrank Minimum Draws Solution

The Solution for hackerrank problem, Minimum Draws using C Program.
Passed Test cases: 10 out of 10

SOURCE CODE:


 #include<stdio.h>  
 int main(){  
   int t;  
   scanf("%d",&t);  
   while(t--){  
     unsigned long num;  
     scanf("%lu",&num);  
     printf("%lu\n",num+1);  
   }  
   return 0;  
 }  

1 comment:

  1. feliz año nuevo 2020 It’s very excellent information and more real facts to provided that post.Thank you for sharing this information.

    ReplyDelete