Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main() {
- freopen("SN.DAT" , "r", stdin );
- freopen("MAX.OUT", "w", stdout);
- int x, kq = -1000000000;
- while (cin >> x) if (kq < x) kq = x;
- cout << kq;
- }
Advertisement
Add Comment
Please, Sign In to add comment