Advertisement
bartekltg

dzielenie

Feb 12th, 2012
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <cstdio>
  2. int main()
  3. {
  4.  
  5.     int in,a,b,c,d,e,f,s;
  6.  
  7.     scanf("%d",&in);
  8.  
  9.     a=in/10;
  10.     b=in/17;
  11.     c=in/1253;
  12.     d=in/54577;
  13.     e=in/1588743;
  14.     f=in/154879361;
  15.  
  16.     s=a+b+c+d+e+f;
  17.  
  18.     printf("%d %d %d %d %d %d %d ",a,b,c,d,e,f,s);
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement