-
-
Save AmanouToona/d4c101443b6aaa4dcfdfa330f81e2c4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
using ll = long long; | |
int main() { | |
ll S; | |
cin >> S; | |
ll INF = pow(10, 9); | |
int y2 = - S % INF + INF; | |
int y3 = (S + y2) / INF; | |
cout << "0 0 1000000000 " << y2 << " 1 " << y3 << endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment