Advertisement
hugol

Untitled

May 1st, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <iostream>
  2. #define C std::cout<<
  3. int L,l,T,t;
  4. int main(){l||std::cin>>L>>l>>T>>t;l>t++?C"S":l<--t&&C"N"&&t--;L>T++?C"E":L<--T&&C"W"&&T--;C"\n";main();}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement