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

#include<bits/stdc++.h>
using namespace std;
bool Prime(unsigned long int n); // 判別関数

int main(){
  int s;
  cin>>s;
  int a=0;
      unsigned long int n;
      vector<int> v(100000);
      
      for(int i=2;i<100000;i++){
          if(Prime(i)==true){ 
            v.at(a)=i;
            a++;
          }
      }
      
    }
    bool Prime(unsigned long int n){
        /* 最小の素数だけ手動で格納
        最小の素数は2であり、それ以降の素数は3以上であるためiの初期値は3
        nが素数でない場合はnの平方根以下に約数が存在するので、
        nの平方根以下のみを調べれば良い
        2を除く素数はすべて奇数なのでiは2ずつ増加させる
        素数の判別方法はエラトステネスの篩を調べてみると良いと思います*/
        vector<int> Primes;
        Primes.push_back(2);
        for(int i=3; i<=sqrt(n); i+=2){
            bool flg=true;
            for(int j=0; j<Primes.size(); ++j){
                if(i%Primes[j]==0) flg=false;
            }
            if(flg==true)
                Primes.push_back(i);
        }
        bool flg=true;
        for(int i=0; i<Primes.size(); ++i){
            /* Primes[0]の2は例外的に格納しているため、
            素数かどうかも例外的に判断する
            nが2でなくてnの平方根以下の素数で割り切れる場合、nは素数でない*/
            if(n%Primes[i]==0){
                if(n!=2) flg=false;
                break;
            }
        }
        return flg;
  
  
  
  
  
  
  
  
  
  
  
  if(s<=1000000000){
    cout<<0<<0<<0<<1<<s<<0;
    return 0;
  }
  for(int i=0;i<10000;i++){
    if(s%v.at(i)==0){
      s=s/v.at(i);
        if(s<=1000000000){
          cout<<0<<0<<0<<v.at(i)<<s<<0;
          return 0;
        }
    }
  }
}


Compiler output:
a.cc: In function 'bool Prime(long unsigned int)':
a.cc:59:6: error: 's' was not declared in this scope
   59 |   if(s<=1000000000){
      |      ^
a.cc:64:8: error: 's' was not declared in this scope
   64 |     if(s%v.at(i)==0){
      |        ^
a.cc:64:10: error: 'v' was not declared in this scope
   64 |     if(s%v.at(i)==0){
      |          ^
a.cc:72:1: warning: control reaches end of non-void function [-Wreturn-type]
   72 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
bool Prime(unsigned long int n); // 判別関数

int main(){
  int s;
  cin>>s;
  int a=0;
      unsigned long int n;
      vector<int> v(100000);
      
      for(int i=2;i<100000;i++){
          if(Prime(i)==true){ 
            v.at(a)=i;
            a++;
          }
      }
      for(int i=0;i<10000;i++){
        cout<<v.at(i)<<endl;
      }
    }
    bool Prime(unsigned long int n){
        /* 最小の素数だけ手動で格納
        最小の素数は2であり、それ以降の素数は3以上であるためiの初期値は3
        nが素数でない場合はnの平方根以下に約数が存在するので、
        nの平方根以下のみを調べれば良い
        2を除く素数はすべて奇数なのでiは2ずつ増加させる
        素数の判別方法はエラトステネスの篩を調べてみると良いと思います*/
        vector<int> Primes;
        Primes.push_back(2);
        for(int i=3; i<=sqrt(n); i+=2){
            bool flg=true;
            for(int j=0; j<Primes.size(); ++j){
                if(i%Primes[j]==0) flg=false;
            }
            if(flg==true)
                Primes.push_back(i);
        }
        bool flg=true;
        for(int i=0; i<Primes.size(); ++i){
            /* Primes[0]の2は例外的に格納しているため、
            素数かどうかも例外的に判断する
            nが2でなくてnの平方根以下の素数で割り切れる場合、nは素数でない*/
            if(n%Primes[i]==0){
                if(n!=2) flg=false;
                break;
            }
        }
  if(s<=1000000000){
    cout<<0<<0<<0<<1<<s<<0;
    return 0;
  }
  for(int i=0;i<10000;i++){
    if(s%v.at(i)==0){
      s=s/v.at(i);
        if(s<=1000000000){
          cout<<0<<' '<<0<<' '<<0<<' '<<v.at(i)<<' '<<s<<' '<<0;
          return 0;
        }
    }
  }
}


Compiler output:
a.cc: In function 'bool Prime(long unsigned int)':
a.cc:49:6: error: 's' was not declared in this scope
   49 |   if(s<=1000000000){
      |      ^
a.cc:54:8: error: 's' was not declared in this scope
   54 |     if(s%v.at(i)==0){
      |        ^
a.cc:54:10: error: 'v' was not declared in this scope
   54 |     if(s%v.at(i)==0){
      |          ^
a.cc:62:1: warning: control reaches end of non-void function [-Wreturn-type]
   62 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9+7;
int main(){
  long long S;
  cin>>S;
  long long A,B;
  if(s == 1000000000000000000){
    cout << "0 0 1000000000 0 0 1000000000" << endl;
  }
  else{
    A = (S/MOD)+1;
    B = MOD-S%MOD;
    cout << 0 << " " << 0 << " " << MOD << " " << 1 << " " << B << " " << A << endl;
  }
  return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9+7;
int main(){
  long long S;
  cin>>S;
  long long A,B;
  if(s == (MOD*MOD)){
    cout << "0 0 1000000000 0 0 1000000000" << endl;
  }
  else{
    A = (S/MOD)+1;
    B = MOD-S%MOD;
    cout << 0 << " " << 0 << " " << MOD << " " << 1 << " " << B << " " << A << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: 's' was not declared in this scope
    8 |   if(s == (MOD*MOD)){
      |      ^
a.cc:8:15: warning: integer overflow in expression of type 'int' results in '-371520463' [-Woverflow]
    8 |   if(s == (MOD*MOD)){
      |            ~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9+7;
int main(){
  long long S;
  cin>>S;
  long long A,B;
  if(s == (MOD*MOD)){
    cout << "0 0 1000000000 0 0 1000000000" << endl;
  }
  else{
    A = (S/MOD)+1;
    B = MOD-S%MOD;
    cout << 0 " " << 0 << " " << MOD << " " << 1 << " " << B << " " << A << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: 's' was not declared in this scope
    8 |   if(s == (MOD*MOD)){
      |      ^
a.cc:8:15: warning: integer overflow in expression of type 'int' results in '-371520463' [-Woverflow]
    8 |   if(s == (MOD*MOD)){
      |            ~~~^~~~
a.cc:14:14: error: expected ';' before string constant
   14 |     cout << 0 " " << 0 << " " << MOD << " " << 1 << " " << B << " " << A << endl;
      |              ^~~~
      |              ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9+7
int main(){
  long long S;
  cin>>S;
  long long A,B;
  if(s == (MOD*MOD)){
    cout << "0 0 1000000000 0 0 1000000000" << endl;
  }
  else{
    A = (S/MOD)+1;
    B = MOD-S%MOD;
    cout << 0 " " << 0 << " " << MOD << " " << 1 << " " << B << " " << A << endl;
  }
  return 0;
}

Compiler output:
a.cc:4:1: error: expected ',' or ';' before 'int'
    4 | int main(){
      | ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  long long S;
  cin>>S;
  long long A,B;
  A = (S/1000000000)+1;
  B = 1000000000-S%1000000000;
  cout << 0 " " << 0 << " " << 1000000000 << " " << 1 << " " << B << " " << A << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected ';' before string constant
    9 |   cout << 0 " " << 0 << " " << 1000000000 << " " << 1 << " " << B << " " << A << endl;
      |            ^~~~
      |            ;
Language: Java

import java.util.Scanner;

public class A {

    static long max = 1000000000;

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long s = sc.nextLong();

        long x1 = 0;
        long y1 = 0;

        long x2 = max;
        long y2 = 1;

        long y3 = s / max + 1;
        long x3 = y3 * max - s;

        System.out.format("%d %d %d %d %d %d\n", x1, y1, x2, y2, x3, y3);
    }
}


Compiler output:
Main.java:3: error: class A is public, should be declared in a file named A.java
public class A {
       ^
1 error
Language: C++

#include<iostream>
using ll = long long;
using namespace std;
int main(){
  ll S;cin>>S;
  ll hoge=((ll)1e9-S%((ll)v));
  ll hoge2=(hoge+S)%((ll)(1e9));
  cout<<0<<" "<<0<<" "<<(ll)(1e9)<<" "<<1<<" "<<hoge<<" "<<hoge2<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:27: error: 'v' was not declared in this scope
    6 |   ll hoge=((ll)1e9-S%((ll)v));
      |                           ^
Language: C++

#include<iostream>
using ll = long long;
using namespace std;
int main(){
  ll S;cin>>S;
  ll hoge=((ll)1e9-s%((ll)v));
  ll hoge2=(hoge+s)%((ll)(1e9));
  cout<<0<<" "<<0<<" "<<(ll)(1e9)<<" "<<1<<" "<<hoge<<" "<<hoge2<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 's' was not declared in this scope
    6 |   ll hoge=((ll)1e9-s%((ll)v));
      |                    ^
a.cc:6:27: error: 'v' was not declared in this scope
    6 |   ll hoge=((ll)1e9-s%((ll)v));
      |                           ^
Language: C++

#include<iostream>
using ll = long long;
using namespace std;
int main(){
  ll S;cin>>S;
  cout<<0<<" "<<0<<" "<<(1e9)<<" "<<1<<" "<<S/(1e9)<<" "<<S%(1e9)<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:60: error: invalid operands of types 'll' {aka 'long long int'} and 'double' to binary 'operator%'
    6 |   cout<<0<<" "<<0<<" "<<(1e9)<<" "<<1<<" "<<S/(1e9)<<" "<<S%(1e9)<<endl;
      |                                                           ~^~~~~~
      |                                                           |  |
      |                                                           |  double
      |                                                           ll {aka long long int}
Language: Java

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

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:7: error: not a statement
  cin >> S;
      ^
Main.java:18: error: not a statement
  cout << x1 << " " << y1 << " " << x2 << " " << y2 << " " << x3 << " " << y3 << endl;
                                                                              ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: C++

#include <bits/stdc++.h>
#define F first
#define S second
#define mp make_pair
#define pb push_back
//#define ll __int128
#define ll long long
#define LEFT(a) ((a)<<1)
#define RIGHT(a) (LEFT(a) + 1)
#define MID(a,b) ((a+b)>>1)
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))

/*
#pragma GCC optimize ("O3")
#pragma GCC optimize("Ofast")
#pragma GCC target("avx2,fma")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC target ("avx2")
#pragma GCC optimization ("unroll-loops")
#pragma comment(linker, "/STACK: 20000000005")
*/

using namespace std;

ll M = 1e9;




ll S;

ll x1, y1, x2, y2;
ll x, y;


main()
{
    //freopen ("in.in", "r", stdin);freopen ("out.out", "w", stdout);
    ios_base::sync_with_stdio(0);
    cin >> S;
    ll X = sqrt (S - 1) + 1;
    ll Y = X - 1;
    ll d1 = X * X - S;
    ll d2 = S - Y * Y;
    if (d1 <= d2){
        x1 = X;
        y2 = X;
        x2 = 1;
        y1 = d1;
    }
    else {
        x = 1;
        x1 = Y + 1;
        y2 = Y;
        x2 = 0;
        y1 = d2;
    }
    cout << x << " " << y << " " << x1 << " " << y1 << " " << x2 << " " << y2 << endl;
    return 0;
}


Compiler output:
a.cc:33:8: error: 'long long int y1' redeclared as different kind of entity
   33 | ll 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/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 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:37:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   37 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:50:12: error: assignment of function 'double y1(double)'
   50 |         y1 = d1;
      |         ~~~^~~~
a.cc:57:12: error: assignment of function 'double y1(double)'
   57 |         y1 = d2;
      |         ~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int64_t S;
  cin>>S;
  if(S!=1000000000000000000){
  cout<<0<<" ";
  cout<<0<<" ";
  cout<<1<<" ";
  cout<<1000000000<<" ";
  cout<<S/1000000000+1<<" ";
  cout<<1000000000-S%1000000000<<" ";
  }
  else{
    cout<<0<<" ";
    cout<<0<<" ";
    cout<<0<<" ";
    cout<<1000000000<<" ";
    cout<<1000000000<<" ";
    cout<<0<<;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:14: error: expected primary-expression before ';' token
   20 |     cout<<0<<;
      |              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int64_t S;
  cin>>S
  if(S!=1000000000000000000){
  cin>>S;
  cout<<0<<" ";
  cout<<0<<" ";
  cout<<1<<" ";
  cout<<1000000000<<" ";
  cout<<S/1000000000+1<<" ";
  cout<<1000000000-S%1000000000<<" ";
  }
  else{
    cout<<0<<" ";
    cout<<0<<" ";
    cout<<0<<" ";
    cout<<1000000000<<" ";
    cout<<1000000000<<" ";
    cout<<0<<;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected ';' before 'if'
    5 |   cin>>S
      |         ^
      |         ;
    6 |   if(S!=1000000000000000000){
      |   ~~     
a.cc:15:3: error: 'else' without a previous 'if'
   15 |   else{
      |   ^~~~
a.cc:21:14: error: expected primary-expression before ';' token
   21 |     cout<<0<<;
      |              ^
Language: C++

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

int main() {
  long long s;
  cin >> s;
  long long x1,y1,x2,y2,x3,y3;
  x1 = 0;
  y1 = 0;
  y2 = 0;
  x3 = 0;
  int a = -1;
  for(int i=1;i<=N;i++){
    for(int j=1;j<=N;j++){
      if(i*j = s){
        x2 = i;
        y3 = j;
        a = 0;
        break;
      }
    }
    if(a>=0) break;
  }
  
  cout << x1 << y1 << x2 << y2 << x3 << y3 << endl;
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: lvalue required as left operand of assignment
   16 |       if(i*j = s){
      |          ~^~
Language: C++

#include<cstdio>
#include<cmath>
#include<algorithmn>
using namespace std;

int main()
{
	long long S,rt,drt,a,b,c,d;
	scanf("%lld",&S);
	if(s<=1e9){
		printf("0 0 0 1 %lld 0\n",S);
		return 0;
	}
	rt=sqrt(S);
	for(;;rt--){
		d=S-rt*rt;
		drt=sqrt(qaq);
		c=1;
		for(int i=2;i<=drt&&d>1e9;i++)
			if(d%i==0)
				d/=i,c*=i;
		if(d<=1e9&&rt+c<=1e9){
			a=rt,b=rt;
			if(b>d)
				swap(b,d);
			printf("%lld %lld %lld %lld %lld %lld\n",a,0,0,d,a+c,b);
		}
	}
	return 0;
}

Compiler output:
a.cc:3:9: fatal error: algorithmn: No such file or directory
    3 | #include<algorithmn>
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  long s;
  cin >>s;
  cout <<0 0 1 0 0 s<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before numeric constant
    7 |   cout <<0 0 1 0 0 s<<endl;
      |           ^~
      |           ;
Language: C++

#include <bits/stdc++.h>
using namespce std;
int main(){
  
  int S;
  cin >> S;
  
  cout << 0 << " " << 0 << " " << 1 << " " << 0 << " " << 0 << " " << S << endl;
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespce'
    2 | using namespce std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> S;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << 0 << " " << 0 << " " << 1 << " " << 0 << " " << 0 << " " << S << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:76: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout << 0 << " " << 0 << " " << 1 << " " << 0 << " " << 0 << " " << S << endl;
      |                                                                            ^~~~
      |                                                                            std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
 
 
#pragma GCC target ("avx2")
#pragma GCC optimization ("O3") 
#pragma GCC optimization ("unroll-loops")
 
// #include <ext/pb_ds/detail/standard_policies.hpp>
using namespace std;
using namespace __gnu_pbds;
// const ll RANDOM = chrono::high_resolution_clock::now().time_since_epoch().count();
// gp_hash_table<int, int> table;
 
#define ll  long long int
#define vii vector< ll >
#define pb push_back
#define pii pair<ll,ll>
#define ppi pair<pii,ll>
#define all(x) x.begin(),x.end()
#define S second
#define F first
#define ins insert
#define ld long double
#define lp(l,r) for(i=l;i<=r;++i)
 
#define lpj(l,r) for(j=l;j<=r;++j)
#define lpr(l,r) for(i=r;i>=l;--i)
#define lprj(l,r) for(j=r;j>=l;--j)
 
#define swap(a,b){ auto _t=a;a=b,b=_t;}
#define flush() cout.flush()
#define popcount __builtin_popcount
#define die() return 0;
// #define size() 


 
 
#define TRACE
 
#ifdef TRACE
#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
    cerr << name << " : " << arg1 << std::endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
    const char* comma = strchr(names + 1, ',');cerr.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...);
}
#else
#define trace(...)
#endif
 
#define MD          1000000007
#define M 			20011
#define LN             14
#define fftmod      998244353
#define EPS         (double)1e-10
 
ll md=MD;
ll inf=1e18;
 
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); 
 
 
inline ll exp(ll a,ll b){if(a==0&&b==0)return 1ll;if(a==0)return 0ll;ll r=1LL;while(b>0){if(b&1){r=(r%md)*(a%md);r=(r+md)%md;}b/=2;a=(a%md)*(a%md);a=(a+md)%md;}return (r+md)%md;}
ll gcd(ll a,ll b){if(b==0)return a;if(a==0)return b;return gcd(b,a%b);}
inline ll poww(ll a,ll b){ll r=1LL;while(b>0){if(b&1)r=r*a;b/=2;a=a*a;}return (ll)r;}
 
using cd=complex<double>;
const double PI=acos(-1);
 
inline ll rand(ll l,ll r){
    return l+rng()%(r-l+1);
 
}



int main(){
 
     
    ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
 
 
   // ifstream fin("input.txt");ofstream fout("outut.txt");
    ll t,i,j,m,n,s,z,k,p;string s1,s2;ll q;ll x,y;
    cin>>s;
    x=1e9;
    ll d=(s-1)%1e9+1;
    y=(s+d)/1e9;
    cout<<0<<" "<<0<<" "<<1e9<<" "<<d<<" "<<1<<" "<<y<<"\n";

}



Compiler output:
a.cc: In function 'int main()':
a.cc:93:15: error: invalid operands of types 'long long int' and 'double' to binary 'operator%'
   93 |     ll d=(s-1)%1e9+1;
      |          ~~~~~^~~~
      |            |   |
      |            |   double
      |            long long int
Language: C++

s = int(input())
if s == 10**18:
    print(0,0,10**9,0,0,10**9)
    exit()
X = 10**9 - s % (10**9)
Y = s//(10**9) + 1
print(0,0,10**9,1,X,Y)


Compiler output:
a.cc:1:1: error: 's' does not name a type
    1 | s = int(input())
      | ^
Language: C++

/*
гонфлад
*/
//pragma ARCENIY_KIRILLOV_POVELITEL_KROKODILOV
//pragma comment(linker, "/stack:200000000")
//pragma GCC optimize("Ofast")
//pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
//pragma GCC optimize("no-stack-protector")
//pragma GCC push_options
//pragma GCC optimize ("unroll-loops")
//pragma GCC pop_options
#include<bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define rng(a) a.begin(), a.end()
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
using namespace std;
typedef long long ll;

const ll INF = 1e9;
main(){
    ll s;
    cin >> s;
    ll x1 = 0, y1 = 0, x2, y2, x3, y3;
    int k = 1;
    for (ll i = 2; i * i <= s; i++){
        if (s%i == 0) k = i;
    }
    if (k <= INF && s/k <= INF){
        cout << x1 << ' ' << y1 << ' ' << 0 << ' ' << k << ' ' << s/k << ' ' << 0 << endl;
        return 0;
    }
    x2 = INF;
    y2 = 1;
    y3 = 1;
    while (x2 * y3 <= S) y3 *= 10;
    x3 = x2*y3 - s;
    cout << x1 << ' ' << y1 << ' ' << x2 << ' ' << y2 << ' ' << x3 << ' ' << y3 << endl;
}






Compiler output:
a.cc:23:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   23 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:38:23: error: 'S' was not declared in this scope
   38 |     while (x2 * y3 <= S) y3 *= 10;
      |                       ^
Language: C++

/*
гонфлад
*/
//pragma ARCENIY_KIRILLOV_POVELITEL_KROKODILOV
//pragma comment(linker, "/stack:200000000")
//pragma GCC optimize("Ofast")
//pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
//pragma GCC optimize("no-stack-protector")
//pragma GCC push_options
//pragma GCC optimize ("unroll-loops")
//pragma GCC pop_options
#include<bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define rng(a) a.begin(), a.end()
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
using namespace std;
typedef long long ll;

const ll INF = 1e9;
main(){
    ll s;
    cin >> s;
    ll x1 = 0, y1 = 0, x2, y2, x3, y3;
    int k = 1;
    for (ll i = 2; i * i <= s; i++){
        if (s%i == 0) k = i;
    }
    if (k <= INF && s/k <= INF){
        cout << x1 << ' ' << y1 << ' ' << 0 << ' ' << k << ' ' << s/k << ' ' << 0 << endl;
        return 0;
    }
    int x2 = INF;
    int y2 = 1;
    int y3 = 1;
    while (x2 * y3 <= S) y3 *= 10;
    int x3 = x2*y3 - s;
    cout << x1 << ' ' << y1 << ' ' << x2 << ' ' << y2 << ' ' << x3 << ' ' << y3 << endl;
}






Compiler output:
a.cc:23:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   23 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:35:9: error: conflicting declaration 'int x2'
   35 |     int x2 = INF;
      |         ^~
a.cc:26:24: note: previous declaration as 'll x2'
   26 |     ll x1 = 0, y1 = 0, x2, y2, x3, y3;
      |                        ^~
a.cc:36:9: error: conflicting declaration 'int y2'
   36 |     int y2 = 1;
      |         ^~
a.cc:26:28: note: previous declaration as 'll y2'
   26 |     ll x1 = 0, y1 = 0, x2, y2, x3, y3;
      |                            ^~
a.cc:37:9: error: conflicting declaration 'int y3'
   37 |     int y3 = 1;
      |         ^~
a.cc:26:36: note: previous declaration as 'll y3'
   26 |     ll x1 = 0, y1 = 0, x2, y2, x3, y3;
      |                                    ^~
a.cc:38:23: error: 'S' was not declared in this scope
   38 |     while (x2 * y3 <= S) y3 *= 10;
      |                       ^
a.cc:39:9: error: conflicting declaration 'int x3'
   39 |     int x3 = x2*y3 - s;
      |         ^~
a.cc:26:32: note: previous declaration as 'll x3'
   26 |     ll x1 = 0, y1 = 0, x2, y2, x3, y3;
      |                                ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v.begin(), v.end())
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) for (__typeof__((s).begin()) i = (s).begin(); i != (s).end(); ++i)
 
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; }
template<class T1, class T2> ostream& operator << (ostream &s, pair<T1,T2> P)
{ return s << '<' << P.first << ", " << P.second << '>'; }
template<class T> ostream& operator << (ostream &s, vector<T> P)
{ for (int i = 0; i < P.size(); ++i) { if (i > 0) { s << " "; } s << P[i]; } return s; }
template<class T> ostream& operator << (ostream &s, vector<vector<T> > P)
{ for (int i = 0; i < P.size(); ++i) { s << endl << P[i]; } return s << endl; }
template<class T> ostream& operator << (ostream &s, set<T> P)
{ EACH(it, P) { s << "<" << *it << "> "; } return s << endl; }
template<class T1, class T2> ostream& operator << (ostream &s, map<T1,T2> P)
{ EACH(it, P) { s << "<" << it->first << "->" << it->second << "> "; } return s << endl; }
typedef long long ll;

int main(){
    long long s;
    cin >> s;
    //double t = (double) s / 2;
    ll a, b;
    a=1e9;
    b=(s+a-1)/a;
    ll c=s%a;
    //s=a*b+c
    if(s<=1e9){
        cout<<0<<" "<<0<<" "<<1<<" "<<0<<" "0<<" "<<s<<endl;
    }
    else
    cout<<0<<" "<<0<<" "<<a<<" "<<1<<" "<<b*a-s<<" "<<b<<endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:45: error: expected ';' before numeric constant
   33 |         cout<<0<<" "<<0<<" "<<1<<" "<<0<<" "0<<" "<<s<<endl;
      |                                             ^
      |                                             ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll x1,y1,x2,y2,x3,y3;
int main()
{
	ll s;
	cin>>s;
	x1=0,y1=0;
	x2=1;y2=1e9;
	x3=2*s/y2;
	if(x3*y2!=2*s)x3++;
	y3=x3*y2-(2*s);
	cout<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<" "<<x3<<" "<<y3<<endl;
} 

Compiler output:
a.cc:4:7: error: 'll y1' redeclared as different kind of entity
    4 | ll x1,y1,x2,y2,x3,y3;
      |       ^~
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/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 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:16: error: assignment of function 'double y1(double)'
    9 |         x1=0,y1=0;
      |              ~~^~
Language: C

v#include <stdio.h>
#define c 1000000000

int main(void)
{
	long long int xa,xb,xc,ya,yb,yc;
	long long int S;
	scanf("%lld",&S);
	xa = 0,ya = 0,xb = c;yb = 1;
	yc = S/c;
	yc++;
	xc = yc*c-S;
	if(S==c*c)
	{
		printf("0 0 1000000000 0 0 1000000000");
		return 0;
	}
	printf("%lld %lld %lld %lld %lld %lld",xa,ya,xb,yb,xc,yc);
	
	return 0;
}



Compiler output:
main.c:1:2: error: stray '#' in program
    1 | v#include <stdio.h>
      |  ^
main.c:1:1: error: unknown type name 'v'
    1 | v#include <stdio.h>
      | ^
main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | v#include <stdio.h>
      |           ^
Language: C++

// #include <cstdio>
// #include <algorithm>
// using namespace std;
// const int N = 50+5;
// struct Edge
// {   
//     int next, to;
//     Edge(int next = 0, int to = 0):next(next), to(to) {};
// }edge[N*N<<2];
// int head[N*N], tot;
// void _add(int x, int y) { edge[++tot] = Edge(head[x], y), head[x] = tot; }
// void add(int x, int y) { _add(x, y), _add(y, x); }
// int n, m, ans;
// char s[N][N];
// int rec[N][N], col[N], t;
// void dfs(int i, int j, int c)
// {
//     if(rec[i][j]||s[i][j] != 'c') return;
//     rec[i][j] = t;
//     dfs(i+1, j, c), dfs(i, j+1, c); 
//     dfs(i-1, j, c), dfs(i, j-1, c); 
// }
// int main()
// {
//     freopen("paint.in", "r", stdin);
//     freopen("paint.out", "w", stdout);
//     scanf("%d%d", &n, &m);
//     for(int i = 1; i <= n; ++i) scanf("%s", s[i]+1);
//     for(int i = 1; i <= n; ++i)
//         for(int j = 1; j <= m; ++j)
//         {
//             if(rec[i][j]) continue;
//             col[++t] = s[i][j], dfs(i, j, col[t]);
//         }
//     for(int i = 1; i < n; ++i)
//         for(int j = 1; j <= m; ++j)
//             if(rec[i][j] != rec[i+1][j]) add(rec[i][j], rec[i+1][j]);
//     for(int i = 1; i <= n; ++i)
//         for(int j = 1; j < m; ++j)
//             if(rec[i][j] != rec[i][j+1]) add(rec[i][j], rec[i][j+1]);
//     for(int i = 1; i <= n; ++i)
//         for(int j = 1; j < m; ++j)

//     printf("%d\n", ans);
//     return 0;
// }
#include <cstdio>
#include <cmath>
long long s, x1, y1, x2, y2;
int main()
{
    scanf("%lld", &s);
    if(s == 0) return puts("0 0 0 0 0 0");
    y2 = x1 = sqrt(s*2);
    if(x1*x1 < s*2) ++y2, ++x1;
    if(x1*y2 != s*2) x2 = 1, y1 = x1*y2-(s<<1);
    printf("0 0 %lld %lld %lld %lld\n", x1, y1, x2, y2);
    return 0;
}
/* 
1 6
101101
499999999999999999
400000000000000000
*/

Compiler output:
a.cc:49:18: error: 'long long int y1' redeclared as different kind of entity
   49 | 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:47:
/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:56:33: error: assignment of function 'double y1(double)'
   56 |     if(x1*y2 != s*2) x2 = 1, y1 = x1*y2-(s<<1);
      |                              ~~~^~~~~~~~~~~~~~
Language: C

#include<stdio.h>
#include<math.h>
int main()
{
  long S,S1;
  long x1,x2,x3,y1,y2,y3;
  scanf("%d",&S);
  x1=0;
  y1=0;
  x3=1;
  y2=1;
  S1=S+1;
  for(i=0;i<pow(10,9);i++)
  {
    if(S1%i==0)
    {
      x2=i;
      y3=S1/i;
      break;
    }
  }
  printf("%d %d %d %d %d %d",x1,y1,x2,y2,x3,y3);
}

Compiler output:
main.c: In function 'main':
main.c:13:7: error: 'i' undeclared (first use in this function)
   13 |   for(i=0;i<pow(10,9);i++)
      |       ^
main.c:13:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main()
{
  double S;
  double x1,x2,x3,y1,y2,y3;
  scanf("%f",&S);
  x1=0;
  y1=0;
  x2=1;
  y2=0;
  x3=0;
  y3=S;
  printf("%.f %.f %.f %.f %.f %.f",x1,y1,x2,y2,x3,y3)
}

Compiler output:
main.c: In function 'main':
main.c:13:54: error: expected ';' before '}' token
   13 |   printf("%.f %.f %.f %.f %.f %.f",x1,y1,x2,y2,x3,y3)
      |                                                      ^
      |                                                      ;
   14 | }
      | ~
Language: C

#include <stdio.h>
int main(void)
{
  int a,b,c;
  int X_1,X_2,X_3,Y_1,Y_32,Y_3;
  a=

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected expression at end of input
    6 |   a=
      |   ^
main.c:6:3: error: expected declaration or statement at end of input
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
int s,x1,y1,x2,y2,x3,y3;
signed main(){
	cin>>s;
	if(s<=1e9) cout<<"0"<<" "<<"0"<<" "<<s<<" "<<"0"<<" "<<"69"<<" "<<"1";
	else{
		x2=1e9;
		y3=(s-1)/x2+1;
		x3=x2*y3-s;
		cout<<"0"<<" "<<"0"<<" "<<x2<<" "<<"1"<<" "<<x3<<" "<<y3;
	}
}

Compiler output:
a.cc:4:10: error: 'long long int y1' redeclared as different kind of entity
    4 | int s,x1,y1,x2,y2,x3,y3;
      |          ^~
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/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 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_));
      | ^~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
int s,x1,y1,x2,y2,x3,y3;
signed main(){
	cin>>s;
	if(s<=1e9) cout<<0<<" "<<0<<" "<<s<<" "<<0<<" "<<1<<" "<<1;
	else{
		x2=1e9;
		y3=(s-1)/x2+1;
		x3=x2*y3-s;
		cout<<0<<" "<<0<<" "<<x2<<" "<<1<<" "<<x3<<" "<<y3;
	}
}

Compiler output:
a.cc:4:10: error: 'long long int y1' redeclared as different kind of entity
    4 | int s,x1,y1,x2,y2,x3,y3;
      |          ^~
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/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 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_));
      | ^~~~~~~~~~
Language: C++

//#pragma GCC optimize("O3")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,tune=native")
//#pragma GCC optimize ("unroll-loops")
#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using ld = long double;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
    ll s;
    cin >> s;
    ll x1 = min(sqrtl(s) + 1, 1e9);
    ll y2 = x1;
    ll y1 = 1;
    ll x2 = x1 * y2 - s;
    if (x2 == 0) {
        y1 = 0;
    }
    cout << "0 0 ";
    cout << x1 << ' ' << y1 << ' ';
    cout << x2 << ' ' << y2;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:16: error: no matching function for call to 'min(long double, double)'
   17 |     ll x1 = min(sqrtl(s) + 1, 1e9);
      |             ~~~^~~~~~~~~~~~~~~~~~~
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:4:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:17:16: note:   deduced conflicting types for parameter 'const _Tp' ('long double' and 'double')
   17 |     ll x1 = min(sqrtl(s) + 1, 1e9);
      |             ~~~^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281: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:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:17:16: note:   mismatched types 'std::initializer_list<_Tp>' and 'long double'
   17 |     ll x1 = min(sqrtl(s) + 1, 1e9);
      |             ~~~^~~~~~~~~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
  ll s,x,y;
  ll max = 1000000000;
  cin >> s;
  x = (max-s%max)%max;
  y = (s+x)/max
  cout << "0 0 1000000000 1 "<< x << " "<< y << endl;
}
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'cout'
    9 |   y = (s+x)/max
      |                ^
      |                ;
   10 |   cout << "0 0 1000000000 1 "<< x << " "<< y << endl;
      |   ~~~~
Language: C++

#pragma GCC optimize("Ofast","inline")
#include <bits/stdc++.h>
#define clr(x) memset(x,0,sizeof x)
#define For(i,a,b) for (int i=(a);i<=(b);i++)
#define Fod(i,b,a) for (int i=(b);i>=(a);i--)
#define pb(x) push_back(x)
#define mp(x,y) make_pair(x,y)
#define fi first
#define se second
#define next Next
#define outval(x) cerr<<#x" = "<<x<<endl
#define outtag(x) cerr<<"-----------------"#x"-----------------\n"
#define outarr(a,L,R) cerr<<#a"["<<L<<".."<<R<<"] = ";\
                    For(_x,L,R) cerr<<a[_x]<<" ";cerr<<endl;
using namespace std;
typedef long long LL;
typedef unsigned long long ULL;
typedef pair <int,int> pii;
LL read(){
    LL x=0,f=0;
    char ch=getchar();
    while (!isdigit(ch))
        f=ch=='-',ch=getchar();
    while (isdigit(ch))
        x=(x<<1)+(x<<3)+(ch^48),ch=getchar();
    return f?-x:x;
}
LL s;
LL x1,y1,x2,y2;
int main(){
	s=read();
	//x1y2-x2y1
	LL a=sqrt(s);
	while (a*a<s)
		a++;
	LL d=a*a-s;
	x1=y2=a;
	if (d%2==1)
		x1++,y2--,d--;
	x2=2,y1=d/2;
	cout<<"0 0 "<<x1<<" "<<y1<<" "<<x2<<" "<<y2<<endl;
	return 0;
}

Compiler output:
a.cc:29:7: error: 'LL y1' redeclared as different kind of entity
   29 | LL 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/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 from a.cc:2:
/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:40:16: error: assignment of function 'double y1(double)'
   40 |         x2=2,y1=d/2;
      |              ~~^~~~
Language: C++


import math
s = int(input())
p=q=0
c=1
a = int (math.sqrt(s))
if (a*a == s):
    d = a

else:
    a+=1
    d = a
    #print(a*d, s)
    b = a*d - s
    #print(a*d - b)

print(p,q,a,b,c,d)

Compiler output:
a.cc:13:6: error: invalid preprocessing directive #print
   13 |     #print(a*d, s)
      |      ^~~~~
a.cc:15:6: error: invalid preprocessing directive #print
   15 |     #print(a*d - b)
      |      ^~~~~
a.cc:2:1: error: 'import' does not name a type
    2 | import math
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <bits/stdc++.h>
using namespace std ;
#define ll long long ;
const int x2 = 1e9 ;

signed main() {
  int x3, y3 ;
  ll S ;
  cin >> S ;
  x3 = (x2 - S % x2) % x2 ;
  y3 = (S + x3) / x2 ;
  cout << "0 0 1000000000 1 " << x3 << " " << y3 << endl ;
  return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:17: error: declaration does not declare anything [-fpermissive]
    3 | #define ll long long ;
      |                 ^~~~
a.cc:8:3: note: in expansion of macro 'll'
    8 |   ll S ;
      |   ^~
a.cc:8:6: error: 'S' was not declared in this scope
    8 |   ll S ;
      |      ^
Language: C++

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

int main(){
    long long S;
    cin >> S;
    s = S / 2
    long long X = s % 1000000000;
    long long Y = s / 1000000000;
    cout << 0 << " " << 0 << " " << 1000000000 << " " << 1 << " " << X << " " << Y <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 's' was not declared in this scope
    7 |     s = S / 2
      |     ^
a.cc:10:70: error: 'X' was not declared in this scope
   10 |     cout << 0 << " " << 0 << " " << 1000000000 << " " << 1 << " " << X << " " << Y <<endl;
      |                                                                      ^
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: In function 'int main()':
a.cc:13:52: error: expected '}' at end of input
   13 |         cout<<"0 0 1000000000 1 "<<x<<" "<<y<<endl;
      |                                                    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

include <iostream>

using namespace std;

int main() {
  unsigned int x1, x2, x3;
  unsigned int y1, y2, y3;
  unsigned long s;

  x1 = 0;
  y1 = 0;
  x2 = 1000000000;
  y2 = 1;

  cin >> s;

  x3 = x2 - ( s % x2 );
  y3 = s/x2+1;

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

  return 0;
  
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:15:3: error: 'cin' was not declared in this scope
   15 |   cin >> s;
      |   ^~~
a.cc:20:3: error: 'cout' was not declared in this scope
   20 |   cout << x1 << " " << y1 << " " << x2 << " " << y2 << " " << x3 << " " << y3 <\
      |   ^~~~
a.cc:21:3: error: 'endl' was not declared in this scope
   21 | < endl;
      |   ^~~~
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;
	
	//system("pause");
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
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;
	
	system("pause");
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

using namespace std;

int main()
{
    long long  S;

    cin >> S;


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

    x3 = 0;
    y3 = 0;
    x2 = 1;
    y2 = 1;
    x1 = S+1;
    y1 = 1;

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

    return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:25:14: error: expected '}' at end of input
   25 |     return 0;
      |              ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    long long S,n=1e9;cin>>S;
    cout<<”0 0 1000000000 -1 "<<S%n<<" "<<S/n<<endl;
}


Compiler output:
a.cc:5:11: error: extended character ” is not valid in an identifier
    5 |     cout<<”0 0 1000000000 -1 "<<S%n<<" "<<S/n<<endl;
      |           ^
a.cc:5:40: warning: missing terminating " character
    5 |     cout<<”0 0 1000000000 -1 "<<S%n<<" "<<S/n<<endl;
      |                                        ^
a.cc:5:40: error: missing terminating " character
    5 |     cout<<”0 0 1000000000 -1 "<<S%n<<" "<<S/n<<endl;
      |                                        ^~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:11: error: '\U0000201d0' was not declared in this scope
    5 |     cout<<”0 0 1000000000 -1 "<<S%n<<" "<<S/n<<endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
int main(){
	long s;
	std::cin>>s;
	long p=sqrt(s)+1;
	std::cout<<"0 0 "<<p<<" 1 "<<p*p-s<<" "<<p<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:53: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |         std::cout<<"0 0 "<<p<<" 1 "<<p*p-s<<" "<<p<<endl;
      |                                                     ^~~~
      |                                                     std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

using namespace std;

int main() {
  int x1, x2, x3;
  int y1, y2, y3;
  int s;

  x1 = 0;
  y1 = 0;
  x2 = 1000000000;
  y2 = 1;

  cin >> s;

  x3 = s - ( s % x2 );
  y3 = ( S + x3 ) / x2;

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

  return 0;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:10: error: 'S' was not declared in this scope
   18 |   y3 = ( S + x3 ) / x2;
      |          ^
Language: C++

#include <iostream>

using namespace std;

int main() {
  int x1, x2, x3;
  int y1, y2, y3;
  int s;

  x1 = 0;
  y1 = 0;
  x2 = 1000000000;
  y2 = 1;

  cin >> s;

  x3 = s - ( s % x2 )
  y3 = ( S + x3 ) / x2

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

  return 0;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:22: error: expected ';' before 'y3'
   17 |   x3 = s - ( s % x2 )
      |                      ^
      |                      ;
   18 |   y3 = ( S + x3 ) / x2
      |   ~~
Language: C++

#include <stdio.h>
#include <iostream>
#include <string>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <vector>
#include <queue>
#include <cstring>

using namespace std;

#define rep(i,x) for(int i=0;i<x;i++)
#define SORT(x) sort(x.begin(),x.end())
#define FIND(x, target) find(x.begin(),x.end(),target)
#define pb(x) push_back(x)
#define output(x) cout<<x<<endl
#define ERASE(x, n) x.erase(x.begin(), x.begin()+n)
// #define int long long
#define P pair<int, int>
typedef long long ll;

const long long int MOD = 1e9+7;
const int INF = -1;

// i: layer
// j: the number haven't been decided
// k: k at that time (if not connected, k is increased with the number)
ll dp[51][51][2501];
vector<int> A;
vector<int> ans;

signed main(void) {
  	ll S;
  	cin >> S;

  	// suppose x1, x2 = 0;
  	// find x2*y3- x3*y2 = S
  	// suppose x2 = 1e9, y2 = 1
  	ll y3 = int(S/1000000000) + 1;
  	ll x3 = 1000000000*y3 - S;
  	if (s == 1e18) y3 = 1e9; x3 = 0;
  	cout << 0 << " " << 0 << " " << 1000000000 << " " << 1 << " " << x3 << " " << y3 << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:42:13: error: 's' was not declared in this scope
   42 |         if (s == 1e18) y3 = 1e9; x3 = 0;
      |             ^