Advertisement
noshin98

uva 13059

Jul 5th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     long long p,ans;
  5.     while(scanf("%lld",&p)==1)
  6.     {
  7.         ans=p-1;
  8.         printf("%lld\n",ans);
  9.     }
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement