criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include<bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i,n) for(int i=0;i< (n);i++)
#define rep1(i,n) for(int i=1;i<= (n);i++)
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;

const static ll MOD = (1e+9)+7;

ll modpow(ll a,ll n){
    if(n==0)return 1;
    if(n%2==1)return a*modpow(a,n-1)%MOD;
    ll t = modpow(a,n/2) % MOD;
    return t*t % MOD;
}

int main(){
    ll S;cin>>S;
    cout<<0<<' '<<0<<' '<<(1e+9)<<' '<<1<<' '<<S%(1e+9)<<' '<<S/(1e+9)<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:49: error: invalid operands of types 'll' {aka 'long long int'} and 'double' to binary 'operator%'
   20 |     cout<<0<<' '<<0<<' '<<(1e+9)<<' '<<1<<' '<<S%(1e+9)<<' '<<S/(1e+9)<<endl;
      |                                                ~^~~~~~~
      |                                                |  |
      |                                                |  double
      |                                                ll {aka long long int}
Language: C++

#include <bits/stdc++.h>

using namespace std;
typedef long long int ll;
typedef pair <ll,ll> P;
#define REP(i, n) for(int i = 0; i < (int)(n); i++)
#define REPR(i, n) for(int i = n-1; i >= 0; i--)
#define FOR(i, n, m) for(int i = n; i < (int)(m); i++)
#define PRINT(x) cout << x << endl
#define ALL(v) v.begin(), v.end()

ll gcd(ll a, ll b) { return b ? gcd(b,a%b) : a;}
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }

ll MOD = 1000000007;

int main()
{
    ll S;
    cin >> S;
    ll n = S / 1e9;
    ll m = S % 1e9;
    if (n == 1e9) {
        PRINT(0 << " " << 0 << " " << 1e9 << " " << 0 << " " << 0 << " " << 1e9);
    } else {
        PRINT(0 << " " << 0 << " " << 1 << " " << 1e9 << " " << n+1 << " " << 1e9 - m);
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:14: error: invalid operands of types 'll' {aka 'long long int'} and 'double' to binary 'operator%'
   22 |     ll m = S % 1e9;
      |            ~ ^ ~~~
      |            |   |
      |            |   double
      |            ll {aka long long int}
Language: C++

#include <bits/stdc++.h>
using namespace std;
constexpr long long MOD = 1000000007;
using ll = long long;
int main() {
ll s;
cin >> s;
ll y=s/pow(10,9);
ll x=s%pow(10,9);
cout << "0 " << "0 " << pow(10,9) << " " << "1 " << x <<" "<< y << "\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: invalid operands of types 'll' {aka 'long long int'} and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
    9 | ll x=s%pow(10,9);
      |      ~^~~~~~~~~~
      |      |    |
      |      |    __gnu_cxx::__promote<double>::__type {aka double}
      |      ll {aka long long int}
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  long long int s;
  cin >> s;
  long long int x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e9;
  y2 = 1;
  y3 = s/(10e9);
  if(s != y3*10e9){
    y3++;
  }
  x3 = y3*(10e9)-s;
  string x1s, x2s, x3s, y1s, y2s, y3s;
  x1s = to_String(x1);
  x2s = to_String(x2);
  x3s = to_String(x3);
  y1s = to_String(y1);
  y2s = to_String(y2);
  y3s = to_String(y3);
  string s = x1s + ' '+ y1s + ' '+  x2s +' '+ y2s+' ' + x3s+' ' + y3s;
  cout << s;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'to_String' was not declared in this scope
   18 |   x1s = to_String(x1);
      |         ^~~~~~~~~
a.cc:24:10: error: conflicting declaration 'std::string s'
   24 |   string s = x1s + ' '+ y1s + ' '+  x2s +' '+ y2s+' ' + x3s+' ' + y3s;
      |          ^
a.cc:5:17: note: previous declaration as 'long long int s'
    5 |   long long int s;
      |                 ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  long long int s;
  cin >> s;
  long long int x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e9;
  y2 = 1;
  y3 = s/(10e9);
  if(s%10e9 != 0){
    y3++;
  }
  x3 = y3*(10e9)-s;
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:7: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
   13 |   if(s%10e9 != 0){
      |      ~^~~~~
      |      | |
      |      | double
      |      long long int
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
  ll int s;
  cin >> s;
  ll int x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e9;
  y2 = 1;
  y3 = s/(10e9);
  if(s%10e9 != 0){
    y3++;
  }
  x3 = y3*(10e9)-s;
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: two or more data types in declaration of 's'
    6 |   ll int s;
      |   ^~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s;
      |          ^
a.cc:8:3: error: two or more data types in declaration of 'x1'
    8 |   ll int x1, x2, x3, y1, y2, y3;
      |   ^~
a.cc:8:3: error: two or more data types in declaration of 'x2'
a.cc:8:3: error: two or more data types in declaration of 'x3'
a.cc:8:3: error: two or more data types in declaration of 'y1'
a.cc:8:3: error: two or more data types in declaration of 'y2'
a.cc:8:3: error: two or more data types in declaration of 'y3'
a.cc:9:3: error: 'x1' was not declared in this scope; did you mean 'y1'?
    9 |   x1 = 0;
      |   ^~
      |   y1
a.cc:10:6: error: assignment of function 'double y1(double)'
   10 |   y1 = 0;
      |   ~~~^~~
a.cc:11:3: error: 'x2' was not declared in this scope
   11 |   x2 = 10e9;
      |   ^~
a.cc:12:3: error: 'y2' was not declared in this scope; did you mean 'yn'?
   12 |   y2 = 1;
      |   ^~
      |   yn
a.cc:13:3: error: 'y3' was not declared in this scope; did you mean 'yn'?
   13 |   y3 = s/(10e9);
      |   ^~
      |   yn
a.cc:17:3: error: 'x3' was not declared in this scope
   17 |   x3 = y3*(10e9)-s;
      |   ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
  ll s;
  cin >> s;
  ll x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e9;
  y2 = 1;
  y3 = s/(10e9);
  if(s%10e9 != 0){
    y3++;
  }
  x3 = y3*(10e9)-s;
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:7: error: invalid operands of types 'll' {aka 'long long int'} and 'double' to binary 'operator%'
   14 |   if(s%10e9 != 0){
      |      ~^~~~~
      |      | |
      |      | double
      |      ll {aka long long int}
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
  ll s;
  ll x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e^9;
  y2 = 1;
  x3 = s/(10e^9)+1;
  y3 = x3*(10e^9)-s;
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
}


Compiler output:
a.cc:10:8: error: exponent has no digits
   10 |   x2 = 10e^9;
      |        ^~~
a.cc:12:11: error: exponent has no digits
   12 |   x3 = s/(10e^9)+1;
      |           ^~~
a.cc:13:12: error: exponent has no digits
   13 |   y3 = x3*(10e^9)-s;
      |            ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
  ll s;
  ll x1, x2, x3, y1, y2, y3;
  x1 = 0;
  y1 = 0;
  x2 = 10e^9;
  y2 = 1;
  x3 = s/10e^9+1;
  y3 = x3*10e^9-s;
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
}

Compiler output:
a.cc:10:8: error: exponent has no digits
   10 |   x2 = 10e^9;
      |        ^~~
a.cc:12:10: error: exponent has no digits
   12 |   x3 = s/10e^9+1;
      |          ^~~
a.cc:13:11: error: exponent has no digits
   13 |   y3 = x3*10e^9-s;
      |           ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

// #define int long long
#define rep(i, n) for (int i = (int)(0); i < (int)(n); ++i)
#define reps(i, n) for (int i = (int)(1); i <= (int)(n); ++i)
#define rrep(i, n) for (int i = ((int)(n)-1); i >= 0; i--)
#define rreps(i, n) for (int i = ((int)(n)); i > 0; i--)
#define irep(i, m, n) for (int i = (int)(m); i < (int)(n); ++i)
#define ireps(i, m, n) for (int i = (int)(m); i <= (int)(n); ++i)
#define SORT(v, n) sort(v, v + n);
#define REVERSE(v, n) reverse(v, v+n);
#define vsort(v) sort(v.begin(), v.end());
#define all(v) v.begin(), v.end()
#define mp(n, m) make_pair(n, m);
#define cout(d) cout<<d<<endl;
#define coutd(d) cout<<std::setprecision(10)<<d<<endl;
#define cinline(n) getline(cin,n);
#define replace_all(s, b, a) replace(s.begin(),s.end(), b, a);
#define PI (acos(-1))
#define FILL(v, n, x) fill(v, v + n, x);
#define sz(x) int(x.size())

using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
using vvll = vector<vll>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using vs = vector<string>;
using vpll = vector<pair<ll, ll>>;

template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

const ll INF = 1e15;
const int MOD = 1e9+7;
const ll LINF = 1e18;



signed main()
{
  cin.tie( 0 ); ios::sync_with_stdio( false );
  ll s; cin>>s;
  ll v=1e9;
  if(s<v*v){
    ll x=v-s%a;
    ll y=(s+x)/v;
    cout<<0<<" "<<0<<" "<<v<<" "<<1<<" "<<x<<" "<<y<<endl;
  }else{
    cout<<0<<" "<<0<<" "<<v<<" "<<0<<" "<<0<<" "<<v<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:49:14: error: 'a' was not declared in this scope
   49 |     ll x=v-s%a;
      |              ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1e9+7;
#define rep(i,n) for(int i = 0; i < (n); ++i)

int main(){
    ll s;
    cin >> s;
    ll v = 1e9;
    ll y = s / v;
    ll x = (v-s % v)%V;
    printf("0 0 1000000000 1 %lld %lld\n", x, y);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: 'V' was not declared in this scope
   12 |     ll x = (v-s % v)%V;
      |                      ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
constexpr int mod = 1000000007;

int main() {
	ll s;
	cin >> s;
	vector<ll> x(3), y(3);
	if (s % 2 == 0) {
		x[0] = 0; y[0] = 0;
		x[1] = 2; y[2] = s / 2;
		x[2] = 0; y[1] = 0;
		rep(i, 3) cout << x[i] << ' ' << y[i] << (i == 2 ? "\n" : " ");
	}
	else {
		x[0] = 0; y[0] = 0;
		x[1] = 2; y[2] = (s + 1) / 2;
		x[2] = 1; y[1] = 1;
		rep(i, 3) cout << x[i] << ' ' << y[i] << (i == 2 ? "\n" : " ");
	}
	return 0;
}
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
constexpr int mod = 1000000007;

int main() {
	ll s;
	cin >> s;
	vector<ll> x(3), y(3);
	if (s % 2 == 0) {
		x[0] = 0; y[0] = 0;
		x[1] = 2; y[2] = s / 2;
		x[2] = 0; y[1] = 0;
		rep(i, 3) cout << x[i] << ' ' << y[i] << (i == 2 ? "\n" : " ");
	}
	else {
		x[0] = 0; y[0] = 0;
		x[1] = 2; y[2] = (s + 1) / 2;
		x[2] = 1; y[1] = 1;
		rep(i, 3) cout << x[i] << ' ' << y[i] << (i == 2 ? "\n" : " ");
	}
	return 0;
}


Compiler output:
a.cc:31:15: error: redefinition of 'constexpr const int mod'
   31 | constexpr int mod = 1000000007;
      |               ^~~
a.cc:6:15: note: 'constexpr const int mod' previously defined here
    6 | constexpr int mod = 1000000007;
      |               ^~~
a.cc:33:5: error: redefinition of 'int main()'
   33 | int main() {
      |     ^~~~
a.cc:8:5: note: 'int main()' previously defined here
    8 | int main() {
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n)for(long long i=0;i<(n);i++)
using namespace std;
using P=pair<long long,long long>;
typedef unsigned long long ull;
typedef long long ll;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
 
const ll MOD=1e9+7;
const ll INF=1e18;
const double pi=acos(-1);
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};

  
int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);  
  
  ll　s;
  cin >> s;
  ll x2,y2,x3,y3;
  ll M=1e9;
  y3=M;
  y2=1;
  x3=s%M-M;
  x2=(s+x3)/M;
  
  cout << 0 << " "  << 0 << "  " << x2 << " " << y2 << " " << x3 << " " << y3 << endl;
}


Compiler output:
a.cc:21:3: error: extended character 　 is not valid in an identifier
   21 |   ll　s;
      |   ^
a.cc: In function 'int main()':
a.cc:21:3: error: 'll\U00003000s' was not declared in this scope
   21 |   ll　s;
      |   ^~~~~
a.cc:22:10: error: 's' was not declared in this scope
   22 |   cin >> s;
      |          ^
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <string>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <tuple>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cassert>
#include <cstdint>
#include <cctype>
#include <numeric>
#include <bitset>
#include <functional>

using namespace std;

using ll =  long long;
using Pll = pair<ll, ll>;
using Pii = pair<int, int>;

constexpr int INF = 1 << 30;
constexpr ll LINF = 1LL << 60;
constexpr ll MOD = 1000000007;
constexpr double EPS = 1e-10;
constexpr int dyx[4][2] = {
    { 0, 1}, {-1, 0}, {0,-1}, {1, 0}
};

int main() {
    ios::sync_with_stdio(false); cin.tie(nullptr);
    ll s;
    cin >> s;
    ll a = int(sqrt(double(s)+EPS));
    if(b == 0) {
        cout << "0 0 " << a << " 0 0 " << a << endl;
        return 0;
    } else {
        ++a;
    }
    ll b = a*a-s;
    cerr << a << " " << b << endl;
    for(ll i=1;i<=sqrt(b)+1;++i) {
        if(b % i == 0 && max(b/i, i) <= 1'000'000'000) {
            cout << "0 0 " << a << " " << i << " " << b/i << " " << a << endl;
            return 0;
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:8: error: 'b' was not declared in this scope
   41 |     if(b == 0) {
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  long long S;
  cin >> S;//s=ad-bc(0,0,a,b,c,d)
  long long a=1000000000;
  long long b=1;
  long long c=(S+999999999)/1000000000;
  long long d=(S+b*c)/a;
  cout << "0 0 "+a+" "+b+ " " +c+" "+d << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   11 |   cout << "0 0 "+a+" "+b+ " " +c+" "+d << endl;
      |           ~~~~~~~~^~~~
      |                 |  |
      |                 |  const char [2]
      |                 const char*
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  long long S;
  cin >> S;//s=ad-bc(0,0,a,b,c,d)
  long long a=1000000000;
  long long b=1;
  long long c=(S+999999999)/1000000000;
  long long d=(S+bc)/a;
  cout << "0 0 "+a+" "+b+ " " +c+" "+d << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: 'bc' was not declared in this scope; did you mean 'c'?
   10 |   long long d=(S+bc)/a;
      |                  ^~
      |                  c
a.cc:11:19: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   11 |   cout << "0 0 "+a+" "+b+ " " +c+" "+d << endl;
      |           ~~~~~~~~^~~~
      |                 |  |
      |                 |  const char [2]
      |                 const char*
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<algorithm>
#include<cstdlib>
#include<cmath>
#include<vector>
#include<utility>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<unordered_set>
#include<unordered_map>
#include<bitset>
using namespace std;
#define INF 1000000007
#define LINF 100000000000000007
#define MOD 1000000007
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
#define repb(i, n) for (int i = n - 1; i >= 0; i--)
#define MODE 1
#ifdef MODE
#define DEB(X) cout<< #X <<": "<<X<<" ";
#define ARDEB(i,X) cout<< #X <<"["<<i<<"]: "<<X[i]<<" ";
#define END cout<<endl;
#else
#define DEB(X) {}
#define ARDEB(i,X) {}
#define END {}
#endif
typedef long long ll;
typedef pair<int,int> P;
struct edge{int to,cost;};
int ceil2(int a,int b){if(a%b){return a/b+1;}else{return a/b;}}
using namespace std;

int x1,x2,x3,y1,y2,y3,s;
signed main(){
	cin>>s;
	x1=0;y1=0;
	x2=1000000000,y3=1;
	x3=1000000000-s%1000000000;
	y2=s/1000000000+1;
	cout<<x1<<" "<<x2<<" "<<x3<<" "<<y1<<" "<<y2<<" "<<y3<<endl;
}


Compiler output:
a.cc:39:14: error: 'long long int y1' redeclared as different kind of entity
   39 | int x1,x2,x3,y1,y2,y3,s;
      |              ^~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:683,
                 from /usr/include/c++/14/bits/requires_hosted.h:31,
                 from /usr/include/c++/14/iostream:38,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:257:1: note: previous declaration 'double y1(double)'
  257 | __MATHCALL (y1,, (_Mdouble_));
      | ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:42:16: error: assignment of function 'double y1(double)'
   42 |         x1=0;y1=0;
      |              ~~^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> pll;

int main() {
  ll n;
  ll mod=1e9;
  cin >> n;
  vector<ll> a=divisor(n);
  cout << "0 0 ";
  cout << n/mod << " 0 0 ";
  cout << -n%mod << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: 'divisor' was not declared in this scope
   10 |   vector<ll> a=divisor(n);
      |                ^~~~~~~
Language: C++

#include<cstdio>
#include<algorithm>
using namespace std;
typedef long long ll;
const int N=502;
int n,M,i,j,k,L[N],R[N],o,t;
ll f[N][N],Ans;
struct Uzi{
    int id,u,v;
    bool operator<(const Uzi &k)const{
        if(u!=k.u)
            return u<k.u;
        return v<k.v;
    }
}p[N];
void init(){
    scanf("%d%d",&n,&M);
    for(i=0;i<2*n;i++){
        L[i]=R[i]=-1;
        for(j=0;j<2*n;j++)
            if(n*n<=i*i+j*j&&i*i+j*j<=n*n*4){
                if(L[i]==-1)
                    L[i]=j;
                R[i]=j;
            }
        if(i<n)
            p[i+1]=(Uzi){i,L[i]-1,R[i]};
        else
            p[i+1]=(Uzi){i,R[i],L[i]};
    }
    sort(p+1,p+2*n+1);
}
void work(){
    for(k=0;k<=n;k++){
        memset(f,0,sizeof(f));
        f[0][0]=1;
        t=0;
        for(i=1;i<=n*2;i++){
            o=p[i].id;
            for(j=0;j<=k;j++){
                if(o>=n){
                    f[i][j]=f[i-1][j]*(R[o]+1-t-j);
                }
                else{
                    f[i][j]=f[i-1][j]*(R[o]+1-(2*n-1-o)-(k-j))%M;
                    if(j&&L[o]>t+j-1)
                        f[i][j]=(f[i][j]+f[i-1][j-1]*(L[o]-t-j+1))%M;
                    
                }
            }
            if(o>=n)
                t++;
        }
        Ans=(Ans+f[n*2][k]*(k%2?-1:1)+M)%M;
    }
    printf("%lld",Ans);
}
int main(){
    init();
    work();
    return 0;
}

Compiler output:
a.cc: In function 'void work()':
a.cc:35:9: error: 'memset' was not declared in this scope
   35 |         memset(f,0,sizeof(f));
      |         ^~~~~~
a.cc:3:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include<algorithm>
  +++ |+#include <cstring>
    3 | using namespace std;
Language: C++

#include<bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<double> vd;
typedef vector<ll> vl;
typedef vector<vi> vvi;
typedef vector<vl> vvl;
typedef pair<int,int> pii;
typedef pair<double, double> pdd;
typedef pair<ll, ll> pll;
typedef vector<pii> vii;
typedef vector<pll> vll;
typedef vector<pdd> vdd;

#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define mem(a,b) memset(a, b, sizeof(a) )
#define all(x) (x).begin(),(x).end()
#define INF 1000000000000
#define MOD 1000000007
#define PB push_back
#define MP make_pair
#define F first
#define S second

inline void normal(ll &a) { a %= MOD; (a < 0) && (a += MOD); }
inline ll modMul(ll a, ll b) { a %= MOD, b %= MOD; normal(a), normal(b); return (a*b)%MOD; }
inline ll modAdd(ll a, ll b) { a %= MOD, b %= MOD; normal(a), normal(b); return (a+b)%MOD; }
inline ll modSub(ll a, ll b) { a %= MOD, b %= MOD; normal(a), normal(b); a -= b; normal(a); return a; }
inline ll modPow(ll b, ll p) { ll r = 1; while(p) { if(p&1) r = modMul(r, b); b = modMul(b, b); p >>= 1; } return r; }
inline ll modInverse(ll a) { return modPow(a, MOD-2); }
inline ll modDiv(ll a, ll b) { return modMul(a, modInverse(b)); }

ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
ll lcm(ll a,ll b){return a*b/gcd(a,b);}

int main(){
    ll n;
    cin>>n;
    ll a=1;
    while(a*a<n){
        a++;
    }
    ll b=a;
    if(abs(a*a-n)>abs((a-1)*(a-1)-n)){
        while(a*b>n){
            a--;
        }
        if(a*b<n)a++;
    }
    ll d=a*b-n
    vl c;
    c.PB(0);c.PB(0);c.PB(a);c.PB(1);c.PB(d);c.PB(b);
    rep(i,c.size())cout<<c[i]<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:54:5: error: expected ',' or ';' before 'vl'
   54 |     vl c;
      |     ^~
a.cc:55:5: error: 'c' was not declared in this scope
   55 |     c.PB(0);c.PB(0);c.PB(a);c.PB(1);c.PB(d);c.PB(b);
      |     ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#define all(x) (x).begin(),(x).end()
#define rep(i, n) for(int (i) = 0; i < (n); i++)
#define REP(i, m, n) for(int (i) = (m); (i) < (n); (i)++)
#define INF LLONG_MAX - 10
#define MOD 1000000000
#define fcout cout << fixed << setprecision(15)
#define int long long
#define yorn(f) puts((f)?"Yes":"No")
#define YORN(f) puts((f)?"YES":"NO")
typedef long long ll;
typedef pair<int, int> P;
typedef priority_queue<int> pque;
int gcd(int a,int b){return b?gcd(b,a%b):a;};
int lcm(int a,int b){return a*b/gcd(a,b);};
int mod(int a,int b){return (a+b-1)/b;};
int month[12] = {31,28,31,30,31,30,31,31,30,31,30,31};
template<typename A, size_t N, typename T>
void Fill(A(&array)[N],const T &val){std::fill((T*)array,(T*)(array+N),val);}
template<class T>inline bool chmax(T& a,T b){if(a < b){a=b;return true;}return false;};
template<class T>inline bool chmin(T& a,T b){if(a > b){a=b;return true;}return false;};



signed main() {
	cin.tie(0);
	cout.tie(0);
	ios::sync_with_stdio(false);

    int n;
    cin >> n;
    
    int x1 = 1e9, y1, x2 = 1, y2;
    int m = x % MOD;
    if(m == 0) {
        y1 = 0;
    } else {
        y1 = MOD - m;
    }
    y2 = (n + y1) / MOD;
    
    cout << 0 << " " << 0 << " " << x1 << " " << x2 << " " << y1 << " " << y2 << endl;
 	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:36:13: error: 'x' was not declared in this scope
   36 |     int m = x % MOD;
      |             ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
const int inf = 1001001001;

int main(){
  int x,y,s;
  cin >> s;
  
  rep(i, 1000000000){
    if(i == 0) continue;
    if(s%i == 0){
      x = i;
      y = s/i;
    }
  }
  cout << 0 << " " << 0 << " " << x << " " << 0 << " " << x << " " << y << endl; 
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:18:81: error: expected '}' at end of input
   18 |   cout << 0 << " " << 0 << " " << x << " " << 0 << " " << x << " " << y << endl;
      |                                                                                 ^
a.cc:7:11: note: to match this '{'
    7 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
    long long s=0;
    cin >> s;

    int x=(1000000000-(s%1000000000)%1000000000;
    int y=(s+x)/1000000000;

    cout << "0 0 1000000000 1 " << x << " " << y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:48: error: expected ')' before ';' token
    8 |     int x=(1000000000-(s%1000000000)%1000000000;
      |           ~                                    ^
      |                                                )
Language: C++

include <iostream>
using namespace std;
 
int main(){
	long long s;
	cin>>s;
	
	const int v=1000000000;
	
	int x=(v-s%v)%v;
	int y=(s+x)/v;
	
	cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>s;
      |         ^~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
      |         ^~~~
a.cc:13:47: error: 'endl' was not declared in this scope
   13 |         cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
      |                                               ^~~~
Language: C++

clude <iostream>
using namespace std;
 
int main(){
	long long s;
	cin>>s;
	
	const int v=1000000000;
	
	int x=(v-s%v)%v;
	int y=(s+x)/v;
	
	cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <iostream>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>s;
      |         ^~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
      |         ^~~~
a.cc:13:47: error: 'endl' was not declared in this scope
   13 |         cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
      |                                               ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n)for(unsigned long long i=0;i<(n);i++)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;

const ull MAX = 100000000000000000;
bool IsPrime[MAX];
ull MinFactor[MAX];
vector<ull> preprocess(ull n = MAX) {
    vector<ull> res;
    for (ull i = 0; i < n; ++i) IsPrime[i] = true, MinFactor[i] = -1;
    IsPrime[0] = false; IsPrime[1] = false; 
    MinFactor[0] = 0; MinFactor[1] = 1;
    for (ull i = 2; i < n; ++i) {
        if (IsPrime[i]) {
            MinFactor[i] = i;
            res.push_back(i);
            for (ull j = i*2; j < n; j += i) {
                IsPrime[j] = false;
                if (MinFactor[j] == -1) MinFactor[j] = i;
            }
        }
    }
    return res;
}

vector<pair<ull,ull> > prime_factor(ull n) {
    vector<pair<ull,ull> > res;
    while (n != 1) {
        ull prime = MinFactor[n];
        ull exp = 0;
        while (MinFactor[n] == prime) {
            ++exp;
            n /= prime;
        }
        res.push_back(make_pair(prime, exp));
    }
    return res;
}


// 最大公約数
ull GCD(ull x, ull y) { return y ? GCD(y, x%y) : x; }


int main() {
  ull s;
  cin >> s;
  if(s<=1000000000){
    cout << 0 << " " << 0 << " " << 1 <<" "<< 0 << " "<< 1 << " " << s << endl;
    return 0;
  }    
  rep(i,100000){
    ull X = GCD(0,s+i);
    ull Y = (s+i)/X;
    if(X<=100000000 && Y<=100000000){
      cout << 0 << " " << 0 << " " << X << " "<< 1 << " "<< i << " "<< Y << endl;
      return 0;
    }
  }
}

Compiler output:
/tmp/cc7aySKS.o: in function `preprocess(unsigned long long)':
a.cc:(.text+0x47): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0x73): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0x7e): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0xbd): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0x105): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0x126): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
/tmp/cc7aySKS.o: in function `prime_factor(unsigned long long)':
a.cc:(.text+0x1b1): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
a.cc:(.text+0x1f6): relocation truncated to fit: R_X86_64_PC32 against symbol `MinFactor' defined in .bss section in /tmp/cc7aySKS.o
collect2: error: ld returned 1 exit status
Language: C++

#include<bits/stddc++.h>
using namespace std;

int main(){
  long long s;
  cin>>s;
  const int v=1000000000;
  int x=(v-s%v)%v;
  int y=(s+x)/v;
  cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
}


Compiler output:
a.cc:1:9: fatal error: bits/stddc++.h: No such file or directory
    1 | #include<bits/stddc++.h>
      |         ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  long s;
  cin >> s;
  long i;
  long a,b,c,d;
  a = 1000000000;
  b = 1;
  d = s/1000000000;
  c = (1000000000-s%1000000000)%1000000000
  cout << 0 << " " << 0 << " " << a << " " << b << " " << c << " " << d << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:43: error: expected ';' before 'cout'
   11 |   c = (1000000000-s%1000000000)%1000000000
      |                                           ^
      |                                           ;
   12 |   cout << 0 << " " << 0 << " " << a << " " << b << " " << c << " " << d << endl;
      |   ~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
    double S;
    cin >> S;
    cout << 0 << " " << 0 << " " << max((double)1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:100: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    8 |     cout << 0 << " " << 0 << " " << max((double)1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
      |                                                                                                   ~^~~~~~~~~~~
      |                                                                                                   | |
      |                                                                                                   | int
      |                                                                                                   double
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
    long long int S;
    cin >> S;
    cout << 0 << " " << 0 << " " << max(1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:40: error: no matching function for call to 'max(int, long long int)'
    8 |     cout << 0 << " " << 0 << " " << max(1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
      |                                     ~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:8:40: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long long int')
    8 |     cout << 0 << " " << 0 << " " << max(1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
      |                                     ~~~^~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:8:40: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
    8 |     cout << 0 << " " << 0 << " " << max(1,S/1000000000) << " " << 1 << " " << 1000000000-(S%1000000000) << " " << 1000000000 << endl;
      |                                     ~~~^~~~~~~~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

vector<bool> IsPrime;

void seive(long int max){
  if(IsPrime.size() < max + 1) IsPrime.resize(max + 1, true);
  IsPrime.at(0) = false;
  IsPrime.at(1) = false;
  for(long int i = 2; i < sqrt(max) + 1; i++){
    if(IsPrime.at(i)){
      long int j = i;
      while(j <= max){
        j += i;
        IsPrime.at(j) = false;
      }
    }   
  }
}

int main(){
  long int s;
  cin >> s;
  long int x1, x2, x3, y1, y2, y3;
  x1 = 0; y1 = 0;
  if(s < 1000000001){
    x2 = s; y2 = 0;
    x3 = 0, y3 = 1;
  }else{
    x2 = 1; y2 = 0;
    seive(s);
    s_tmp = s;
    for(long int i = 0; i < sqrt(s) + 1; i++){
      if(IsPrime.at(i)){
        while(s_tmp % i == 0){
          s_tmp = s_tmp / i;
          x2 *= i;
        }
        if(s_tmp < 1000000001) break;
      }
    }
    x3 = 0; y3 = s_tmp;
  }
  cout << x1 << " " << y1 << " " << x2 << " " << y2 << " " << x3 << " " << y3;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:5: error: 's_tmp' was not declared in this scope; did you mean 'setjmp'?
   32 |     s_tmp = s;
      |     ^~~~~
      |     setjmp
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <set>
#include <map>
#include <bitset>
#include <deque>
#define REP(i,n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using itn = int;
const ll MOD = 1000000007;
const ll INF = MOD * MOD;

int main() {

    ll s, sq;
    cin >> s;

    sq = 2*s;

    ll x1, y1, x2, y2, x3, y3;

    ll a = 2;
    map<ll, ll> insu;
    // √n ≧ a ( n ≧ a * a ) の間ループ処理
    while (s >= a * a) {
        // a で割り切れたら、a は素因数
        // そして、割られる数を a で割る
        // a で割り切れなかったら、 a を 1 増加させる
        if (s % a == 0) {
            insu[a] ++;
            s /= a;
        } else {
            a++;
        }
    }
    
    for (int i = 0; i < insu.size(); i++) {
        while (insu)
    }
    

    

    cout << x1 << endl;
    cout << y1 << endl;
    cout << x2 << endl;
    cout << y2 << endl;
    cout << x3 << endl;
    cout << y3 << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:44:16: error: could not convert 'insu' from 'std::map<long long int, long long int>' to 'bool'
   44 |         while (insu)
      |                ^~~~
      |                |
      |                std::map<long long int, long long int>
a.cc:45:5: error: expected primary-expression before '}' token
   45 |     }
      |     ^
Language: C

#include<stdio.h>
long GCDisGOD(long a,long b){
  long p = a;
  long q = b;
  long c=0;
  long hoge = 0;
  long i = 0;
  for(i=0;i<10;i++){
    c = p%q;
    if(c == 0){
      return q;
    }else{
      hoge = p;
      p = q;
      q = c;
    }
    //printf("%d %d %d#",p,q,c);
  }
}
    
int main(){
  long n = 0;
  long k = 0;
  int i = 0;
  long a[100000] = {};
  int success = -1;
  long gcd = 0;
  long max = 0;
  scanf("%ld %ld",&n,&k);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
  }
    gcd = a[0];
    for(i=1;i<n;i++){
        gcd = GCDisGOD(gcd,a[i]);
        if(a[i] > max){
          max = a[i];
        }
      }
    }
  if(a[0] == k){
    success = 1;
  }
    //printf("%ld#",gcd);
    if((k % gcd == 0  && max < k)){
      success = 1;
    }else{
      success = 0;
    }
  
  if(success){
    printf("POSSIBLE");
  }else{
    printf("IMPOSSIBLE");
  }
  
      
  return 0;
}
         
  

Compiler output:
main.c:41:3: error: expected identifier or '(' before 'if'
   41 |   if(a[0] == k){
      |   ^~
main.c:45:5: error: expected identifier or '(' before 'if'
   45 |     if((k % gcd == 0  && max < k)){
      |     ^~
main.c:47:6: error: expected identifier or '(' before 'else'
   47 |     }else{
      |      ^~~~
main.c:51:3: error: expected identifier or '(' before 'if'
   51 |   if(success){
      |   ^~
main.c:53:4: error: expected identifier or '(' before 'else'
   53 |   }else{
      |    ^~~~
main.c:58:3: error: expected identifier or '(' before 'return'
   58 |   return 0;
      |   ^~~~~~
main.c:59:1: error: expected identifier or '(' before '}' token
   59 | }
      | ^
Language: C++

#include<cstdio>
#include<cmath>
long long S,x1,y1,x2,y2;
int main(){
	scanf("%lld",&S);
	x1=y2=sqrt(S);
	if(S-x1*y2>1e9)y2++;
	S-=x1*y2;
	x2=-1,y1=S;
	printf("1 0 %lld %lld %lld %lld\n",x1+1,y1,x2+1,y2);
}

Compiler output:
a.cc:3:16: error: 'long long int y1' redeclared as different kind of entity
    3 | long long S,x1,y1,x2,y2;
      |                ^~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:683,
                 from /usr/include/c++/14/cstdio:41,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:257:1: note: previous declaration 'double y1(double)'
  257 | __MATHCALL (y1,, (_Mdouble_));
      | ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:17: error: assignment of function 'double y1(double)'
    9 |         x2=-1,y1=S;
      |               ~~^~
Language: C++

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
  int s;
  cin>>s;
  s *= 2;
  int mx = 1
  for(int i = 1; i < sqrt(s) + 1; i++)
    if(s % i == 0) mx = i;
  cout<<0<<' '<<0<<' '<<mx<<' '<<0<<' '<<0<<' '<<s / mx<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'for'
    9 |   for(int i = 1; i < sqrt(s) + 1; i++)
      |   ^~~
a.cc:9:18: error: 'i' was not declared in this scope
    9 |   for(int i = 1; i < sqrt(s) + 1; i++)
      |                  ^
Language: C++

int main(){
  int s;
  cin>>s;
  if(s<10*10*10*10*10*10*10*10*10){
    cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<0<<" "<<1<<endl;
  }
  else{
    int i;
    if(s%2==0){
      cout<<0<<" "<<0<<" "<<s/2<<" "<<0<<" "<<0<<" "<<2<<endl;
      exit(0);
    }
    for(i=3;i<=sqrt(s);i+=2){
      if(s%i==0){
        break;
      }
    }
    cout<<0<<" "<<0<<" "<<s/i<<" "<<0<<" "<<0<<" "<<i<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>s;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<0<<" "<<1<<endl;
      |     ^~~~
a.cc:5:54: error: 'endl' was not declared in this scope
    5 |     cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<0<<" "<<1<<endl;
      |                                                      ^~~~
a.cc:10:7: error: 'cout' was not declared in this scope
   10 |       cout<<0<<" "<<0<<" "<<s/2<<" "<<0<<" "<<0<<" "<<2<<endl;
      |       ^~~~
a.cc:10:58: error: 'endl' was not declared in this scope
   10 |       cout<<0<<" "<<0<<" "<<s/2<<" "<<0<<" "<<0<<" "<<2<<endl;
      |                                                          ^~~~
a.cc:11:7: error: 'exit' was not declared in this scope
   11 |       exit(0);
      |       ^~~~
a.cc:1:1: note: 'exit' is defined in header '<cstdlib>'; this is probably fixable by adding '#include <cstdlib>'
  +++ |+#include <cstdlib>
    1 | int main(){
a.cc:13:16: error: 'sqrt' was not declared in this scope
   13 |     for(i=3;i<=sqrt(s);i+=2){
      |                ^~~~
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<0<<" "<<0<<" "<<s/i<<" "<<0<<" "<<0<<" "<<i<<endl;
      |     ^~~~
a.cc:18:56: error: 'endl' was not declared in this scope
   18 |     cout<<0<<" "<<0<<" "<<s/i<<" "<<0<<" "<<0<<" "<<i<<endl;
      |                                                        ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define MAX_N 100000
#define MAX_M 100000
const int INF = 1e9;
#define PI 3.141592653589793

int main(){
  int s;
  cin>>s;
  cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<0<" "<<1<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:46: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator<<'
   11 |   cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<0<" "<<1<<endl;
      |                                           ~~~^~~
      |                                           |    |
      |                                           |    int
      |                                           const char [2]
Language: C++

#include <bits/stdc++.h>
using namespace std;

#define rep(i, n) for(int i = 0; i < (n); ++i)

typedef long long ll;
typedef pair<int, int> P;

const int MAX = 1e5 + 5;
const int INF = 1e9;
const int MOD = 1e9 + 7;

int main(){
    ll S;
    cin >> S;

    int x = S / 1000000000;
    int x = S - 1000000000 * x;

    cout << "0 0 1 1000000000 " << x << " " << y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: redeclaration of 'int x'
   18 |     int x = S - 1000000000 * x;
      |         ^
a.cc:17:9: note: 'int x' previously declared here
   17 |     int x = S / 1000000000;
      |         ^
a.cc:20:48: error: 'y' was not declared in this scope
   20 |     cout << "0 0 1 1000000000 " << x << " " << y << endl;
      |                                                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;


int main() {
int s;cin>>s;int x1=pow(10,9),x2=s%pow(10,9),x3=0,y1=s/pow(10,9),y2=1,y3=0;

cout<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<" "<<x3<<" "<<y3<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:35: error: invalid operands of types 'int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
    6 | int s;cin>>s;int x1=pow(10,9),x2=s%pow(10,9),x3=0,y1=s/pow(10,9),y2=1,y3=0;
      |                                  ~^~~~~~~~~~
      |                                  |    |
      |                                  int  __gnu_cxx::__promote<double>::__type {aka double}
a.cc:8:34: error: 'y2' was not declared in this scope; did you mean 'x2'?
    8 | cout<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<" "<<x3<<" "<<y3<<endl;
      |                                  ^~
      |                                  x2
a.cc:8:43: error: 'x3' was not declared in this scope; did you mean 'x2'?
    8 | cout<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<" "<<x3<<" "<<y3<<endl;
      |                                           ^~
      |                                           x2
a.cc:8:52: error: 'y3' was not declared in this scope; did you mean 'yn'?
    8 | cout<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<" "<<x3<<" "<<y3<<endl;
      |                                                    ^~
      |                                                    yn
Language: C++

#include "bits/stdc++.h"
#define ll long long
#define ALL(x) x.begin(),x.end()
#define MOD (1000000000+7)
using namespace std;


int main(){
  ll tar;
  cin>>tar;
  ll tmax=1000000000;

  


    cout<<0<<" "<<0<<" ";
    cout<<tmax<<" "<<1<<" ";

ll j1;
ll j2;
j1 = tar/tmax;
j1++;
ll f=0;
ll q = tar%tmax;
j2 = tmax-q;

if(tar<=tmax){
  j1=0;
  j2 = tar;

)



    cout<<j2<<" "<<j1<<" "<<endl;
    return 0;



}



Compiler output:
a.cc: In function 'int main()':
a.cc:31:1: error: expected primary-expression before ')' token
   31 | )
      | ^
a.cc:40:2: error: expected '}' at end of input
   40 | }
      |  ^
a.cc:8:11: note: to match this '{'
    8 | int main(){
      |           ^
Language: C++

#include "bits/stdc++.h"
#define ll long long
#define ALL(x) x.begin(),x.end()
#define MOD (1000000000+7)
using namespace std;


int main(){
  ll tar;
  cin>>tar;
  ll tmax=1000000000;

  


    cout<<0<<" "<<0<<" ";
    cout<<tmax<<" "<<1<<" ";

ll j1;
ll j2;
j1 = tar/tmax;
j1++;
ll f=0;
ll q = tar%tmax;
j2 = tmax-q;

if(s<=tmax){
  j1=0;
  j2 = tar;

)



    cout<<j2<<" "<<j1<<" "<<endl;
    return 0;



}



Compiler output:
a.cc: In function 'int main()':
a.cc:27:4: error: 's' was not declared in this scope
   27 | if(s<=tmax){
      |    ^
a.cc:31:1: error: expected primary-expression before ')' token
   31 | )
      | ^
a.cc:40:2: error: expected '}' at end of input
   40 | }
      |  ^
a.cc:8:11: note: to match this '{'
    8 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, j, n) for (ll i = j; i < n; i++)
#define all(x) (x).begin(),(x).end()
#define INF (LLONG_MAX)
#define MOD (1000000007)
#define MAX (100000)
#define pii pair<int, int>

/////////////////////////////////////////////////////////

class XY{
public:
  ll x, y;
  XY() {x = y = 0;}
  XY(ll u, ll v) {x = u; y = v;}
};

template<typename T1, typename T2>
void chmin(T1 &a, T2 b) {if(a > b) a = b;}
template<typename T1, typename T2>
void chmax(T1 &a, T2 b) {if(a < b) a = b;}

template<typename T1, typename T2>
T1 mypow(T1 a, T2 n){
  if(n == 0) return 1;
  if(n == 1) return a;
  if(n % 2) return a * mypow(a, n - 1);
  T1 tmp = mypow(a, n / 2);
  return tmp * tmp;
}

template<typename T>
int BS(vector<T> V, int left, int right, T key){
  int mid = (left + right) / 2;
  if(V[mid] <= key) left = mid;
  else right = mid;
  if(right - mid == 1) return left;
  else return BS(V, left, right, key);
}

/////////////////////////////////////////////////////////

void Main(){
  ll S; cin >> S;
  ll a, b, c, d;
  a = 1000000000;
  d = S / a + 1;
  c = 1;
  b = a * d - S;
  
  if(N == 1000000000000000000){
    a = 1000000000;
    d = 1000000000;
    c = 0;
    b = 0;
  }
  cout << 0 << " " << 0 << " " << a << " " << b << " " << c << " " << d;
}

/////////////////////////////////////////////////////////

int main(){
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << std::fixed << std::setprecision(15);

  Main();
}


Compiler output:
a.cc: In function 'void Main()':
a.cc:53:6: error: 'N' was not declared in this scope
   53 |   if(N == 1000000000000000000){
      |      ^
Language: C++

#include <bits/stdc++.h>
#include rep(i, N) for (int i = 0; i < (int)(n); i++)
using namespace std;

int main()
{
	int S;
	cin >> S;
	
	cout << "0 0 0 1 0 " << S << endl;

}


Compiler output:
a.cc:2:10: error: #include expects "FILENAME" or <FILENAME>
    2 | #include rep(i, N) for (int i = 0; i < (int)(n); i++)
      |          ^~~