Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4.  
  5. int main ()
  6. {
  7. int a,x;
  8. cin>>a>>x;
  9.  
  10. if(a,x<=GORNY_ZAKRES & a,x>=DOLNY_ZAKRES)
  11. {
  12. cout<<x/a+1; //Te + 1 jest potrzebne bo liczy sie przekroczenie linii a nie nastapnienie na nia. //- to sÄ… komentarze jakby co xD
  13. }
  14. else
  15. {
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement