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

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

int main(void)
{
  int r, g, avr = 0;
  
  cin >> r >> avr;
  g = (2 * avr) - r;
  
  cout << g << endl;
  return 0;
  
}
  
  
  

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

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

int main(void)
{
  int r, g, avr = 0;
  
  cin >> r >> avr;
  g = 2 * avr - r;
  
  cout << g << endl;
  return 0;
  
}
  
  
  

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

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

int main(void)
{
  int r, g, avr = 0;
  
  cin >> r >> g;
  g = 2 * avr - r;
  
  cout << g << endl;
  return 0;
  
}
  
  
  

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

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

int main(void)
{
  int r, g = 0;
  double avr = 0;
  
  cin >> r >> g;
  
  avr = (r + g) /2;
  
  cout << avr << endl;
  
  return 0;
}


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

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

int main() {
  int R , G ;
  cin >> R >> G ;
  cout << 2G - R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G - R << endl;
      |           ^~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    
 double R, G;
 
 cin >> R >> G;
 
 double ans = 2G - R;
 
 cout << ans << endl;
 
    
}





Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: unable to find numeric literal operator 'operator""G'
    9 |  double ans = 2G - R;
      |               ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int G,R;
  cin >> G >> R;
  cout << 2G - R <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: unable to find numeric literal operator 'operator""G'
    6 |   cout << 2G - R <<endl;
      |           ^~
Language: C++

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

int main() {
  
  //変数にR,Gを設定
  int R, G;
  
  cin >> R >> G;
  
  cout << 2G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: unable to find numeric literal operator 'operator""G'
   11 |   cout << 2G - R << endl;
      |           ^~
Language: C++

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

int main() {
  int R;
  int G;
  
  cin >> R;
  cin >> G;
  
  cout << 2G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: unable to find numeric literal operator 'operator""G'
   11 |   cout << 2G-R << endl;
      |           ^~
Language: C++

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

int main() {
	int R, G;
  cin >> R >> g; //(R+x)/2=G//
  cout << G*2-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'g' was not declared in this scope
    6 |   cin >> R >> g; //(R+x)/2=G//
      |               ^
Language: C++

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

int main() {
	int R, G;
  cin >> R >> g; //(R+x)/2=G
  cout << G*2-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'g' was not declared in this scope
    6 |   cin >> R >> g; //(R+x)/2=G
      |               ^
Language: C

#include <stdo.h>
int main(void) {
  int r,g;
  scanf("%d%d",&r,&g);
  printf("%d\n",2*g-r);
}

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

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

int main() {
  int R,G;
  cin>>R>>G;
  cout>>2*G-Rendl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'Rendl' was not declared in this scope
    7 |   cout>>2*G-Rendl;
      |             ^~~~~
Language: C++

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

int main() {
  int R, G;
  cin >> R >> G;
  cout << 2 * G - R << endl;
}

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

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

int main() {
  int R, G;
  cin >> R >> G
    cout << 2G - R << endl; // R + x == 2G
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'cout'
    6 |   cin >> R >> G
      |                ^
      |                ;
    7 |     cout << 2G - R << endl; // R + x == 2G
      |     ~~~~
Language: C++

#include <bits/ stdc++>
#define rep(i,n) for(int i; i<n; i++)
typedef long long ll;
using namespace std;

int main(){
	int r,g;
	cin >> r >> g;
	cout << 2*g-r << endl;
	return 0;
}



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

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

int main() {
  int R,G;
  cin >> R >> G;
  cout << 2G-R <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G-R <<endl;
      |           ^~
Language: C++

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

int main(){
  double R,G;
  cin >> R >> G;
  cout >> (R+G)/2.0 << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #including; did you mean #include?
    1 | #including<bits/stdc++.h>
      |  ^~~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> R >> G;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #including<bits/stdc++.h>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout >> (R+G)/2.0 << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:24: error: 'endl' was not declared in this scope
    7 |   cout >> (R+G)/2.0 << endl;
      |                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #including<bits/stdc++.h>
Language: C++

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

int main(){
  double R,G;
  cin >> R >> G;
  cout << (R+G)/2.0 << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #including; did you mean #include?
    1 | #including<bits/stdc++.h>
      |  ^~~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> R >> G;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #including<bits/stdc++.h>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << (R+G)/2.0 << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:24: error: 'endl' was not declared in this scope
    7 |   cout << (R+G)/2.0 << endl;
      |                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #including<bits/stdc++.h>
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int R,G ;
  cin >>　R >> G;
  cout << ( 2 * G - R ) << endl;
}


Compiler output:
a.cc:5:9: error: extended character 　 is not valid in an identifier
    5 |   cin >>　R >> G;
      |         ^
a.cc: In function 'int main()':
a.cc:5:9: error: '\U00003000R' was not declared in this scope
    5 |   cin >>　R >> G;
      |         ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  cin >> R , G;
  
  cout << G - R + G << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 'R' was not declared in this scope
    6 |   cin >> R , G;
      |          ^
a.cc:6:14: error: 'G' was not declared in this scope
    6 |   cin >> R , G;
      |              ^
Language: C++

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

int main(){
  int R,G;
  cin >> R >> G ;
  cout << 2G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G-R << endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int R ;
	int G ;
	double X ;
  cin >> R >>G ;
  X = 2*G - R
  cout << X << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected ';' before 'cout'
    9 |   X = 2*G - R
      |              ^
      |              ;
   10 |   cout << X << endl;
      |   ~~~~
Language: C++

#include<iostream>
#include<string>
#include<bits/stdc++.h>
using namespace std;
int main() 
{ 

int a,b;
if(a>=0&&a<=4500)
{
if(b>=0&&b<=4500)
{
float f;
cin>>a>>b;

f=(a+b)/2;
cout<<f;
}
return 0;  
}

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

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

int main(){
  int R,G;
  cin >> R >> G;
  cout << 2G-R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G-R << endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b
  cin >> a ;
  cin >> b ;
  cout << (2*b)/a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a ;
      |   ^~~
a.cc:7:10: error: 'b' was not declared in this scope
    7 |   cin >> b ;
      |          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b
  cout << (2*b)/a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cout'
    6 |   cout << (2*b)/a << endl;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b
  R >> a ;
  G >> b ;
  cout << (2*b)/a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'R'
    6 |   R >> a ;
      |   ^
a.cc:7:3: error: 'G' was not declared in this scope
    7 |   G >> b ;
      |   ^
a.cc:7:8: error: 'b' was not declared in this scope
    7 |   G >> b ;
      |        ^
Language: C++

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

int main() {
  double R, G, X;
  cin >> R, G;
  X = 2G - R;
  cout << X << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: unable to find numeric literal operator 'operator""G'
    7 |   X = 2G - R;
      |       ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
int R,G:
  cin>>R:
  cin>>G:
  cout<<2*G-R<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: found ':' in nested-name-specifier, expected '::'
    4 | int R,G:
      |        ^
      |        ::
a.cc:4:7: error: 'G' has not been declared
    4 | int R,G:
      |       ^
a.cc:5:6: error: qualified-id in declaration before '>>' token
    5 |   cin>>R:
      |      ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
int R:
int G;  
  cin>>R:
  cin>>G:
  cout<<2*G-R<<endl:
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: expected initializer before ':' token
    4 | int R:
      |      ^
a.cc:6:9: error: found ':' in nested-name-specifier, expected '::'
    6 |   cin>>R:
      |         ^
      |         ::
a.cc:6:8: error: 'R' has not been declared
    6 |   cin>>R:
      |        ^
a.cc:7:9: error: found ':' in nested-name-specifier, expected '::'
    7 |   cin>>G:
      |         ^
      |         ::
a.cc:7:8: error: 'G' has not been declared
    7 |   cin>>G:
      |        ^
a.cc:8:11: error: 'G' was not declared in this scope
    8 |   cout<<2*G-R<<endl:
      |           ^
a.cc:8:13: error: 'R' was not declared in this scope
    8 |   cout<<2*G-R<<endl:
      |             ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int R,G:
  cin>>R:
  cin>>G:
  cout<<2*G-R<<endl:
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: found ':' in nested-name-specifier, expected '::'
    4 | int R,G:
      |        ^
      |        ::
a.cc:4:7: error: 'G' has not been declared
    4 | int R,G:
      |       ^
a.cc:5:6: error: qualified-id in declaration before '>>' token
    5 |   cin>>R:
      |      ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int R,G;
  cin>>R>>G;
  cout<<2*G-R<<endl:
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ';' before ':' token
    6 |   cout<<2*G-R<<endl:
      |                    ^
      |                    ;
Language: C++

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

int main() {

  int R,G;
  cin >> R,G;
  cout << (R + G)/2 endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected ';' before 'endl'
    8 |   cout << (R + G)/2 endl;
      |                    ^~~~~
      |                    ;
Language: C++

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

int main(){
  int R,G;
  cout << G+(G-R)*2

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ';' at end of input
    6 |   cout << G+(G-R)*2
      |                    ^
      |                    ;
a.cc:6:20: error: expected '}' at end of input
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int s, g;
  cin >> s >> g;
  cout << 2 * g - s << endl;]
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: expected primary-expression before ']' token
    6 |   cout << 2 * g - s << endl;]
      |                             ^
Language: C++

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

int main() {
  // ここにプログラムを追記
  double a,b;
  cin >> a >> b;
  double ans;
  ans = 2b-a;
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: unable to find numeric literal operator 'operator""b'
    9 |   ans = 2b-a;
      |         ^~
Language: C++

#include<bits/sted++.h>
using namespace std;
 
int main(){
  int a,b;
  
  cin>>a>>b;
  
  cout<< 2*b-a<<endl;
}



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

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

int main(){
  int a,b;
  
  cin>>a>>b>>;
  
  cout<< 2*b-a<<endl;
}


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

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

int main() {
  int R,G;
  cin >> R >> G;
  cout << 2G - R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G - R << endl;
      |           ^~
Language: C++

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

int main()
{
        ll R, G; cin >> R >> C;
        cout << G * 2 - R << endl;


}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: 'C' was not declared in this scope
    8 |         ll R, G; cin >> R >> C;
      |                              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int R;
  int G;
  cin >> R >> G;
 
  cout << 2G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: unable to find numeric literal operator 'operator""G'
    9 |   cout << 2G - R << endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int r; // 旧レーティング
  int g; // 新レーティング;
  int p; // パフォーマンス
  cin >> r >> g;
  
  p = 2 * g - r;
  cout << (r > g) ? -1 * p : p << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:32: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |   cout << (r > g) ? -1 * p : p << endl;
      |                              ~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int r; // 旧レーティング
  int g; // 新レーティング;
  int p; // パフォーマンス
  cin >> r >> g;
  
  p = 2 * g - r;
  cout << (r > g) ? -1 * p : p << endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:32: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |   cout << (r > g) ? -1 * p : p << endl
      |                              ~~^~~~~~~
Language: C

#include <stdio.h>
int main()
{
  int r,j.V;
  scanf("%d,%d", &r,&j);
  V=2*j-r;
  printf("%d", V);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 |   int r,j.V;
      |          ^
main.c:5:22: error: 'j' undeclared (first use in this function)
    5 |   scanf("%d,%d", &r,&j);
      |                      ^
main.c:5:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: 'V' undeclared (first use in this function)
    6 |   V=2*j-r;
      |   ^
Language: C++

#include <stdio.h>
int main()
{
  int r,j.V;
  scanf("%d,%d", &r,&j);
  V=2*j-r;
  printf("%d", V);
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '.' token
    4 |   int r,j.V;
      |          ^
a.cc:5:22: error: 'j' was not declared in this scope
    5 |   scanf("%d,%d", &r,&j);
      |                      ^
a.cc:6:3: error: 'V' was not declared in this scope
    6 |   V=2*j-r;
      |   ^
Language: C++

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

int main() {
  int N >> K;
  sin >> N >> K;
  int sum = 1;
  for(int i= 0; i < N;i++){
    
   if(sum < K){
     sum *= 2;
   }
    
   if(sum - 1 > K){
     sum += K;
   }
  }
    cout << sum << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before '>>' token
    5 |   int N >> K;
      |         ^~
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   sin >> N >> K;
      |          ^
a.cc:6:15: error: 'K' was not declared in this scope
    6 |   sin >> N >> K;
      |               ^
Language: C++

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

int main() {
  int N >> K;
  sin >> N >> K;
  int sum = 1;
  for(int i= 0; i < N;i++){
    
   if(sum < K){
     sum *= 2;
   }
    
   if(sum - 1 > K){
     sum += K;
   }
    cout << sum << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before '>>' token
    5 |   int N >> K;
      |         ^~
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   sin >> N >> K;
      |          ^
a.cc:6:15: error: 'K' was not declared in this scope
    6 |   sin >> N >> K;
      |               ^
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
	int R, G;
	scanf("%d %d", &R, &G);
	printf("%d\n", G * 2 - R);
	return 0;
}v

Compiler output:
a.cc:10:2: error: 'v' does not name a type
   10 | }v
      |  ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double A, B;
  cin >> A >> B;
  cout << (2*B-A)/;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected primary-expression before ';' token
    7 |   cout << (2*B-A)/;
      |                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B;
  cin >> A >> B;
  cout << (2*B-A)/2
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: expected ';' before '}' token
    7 |   cout << (2*B-A)/2
      |                    ^
      |                    ;
    8 | }
      | ~
Language: C++

#include <bits/c++.h>
using namespace std;
int main() {
  
 double r, g, p;
 cin >> r, g;
  p = 2 * g - r;
 cout >> p;
}


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

#include <bits/c++.h>using 
namespace std;
int main() {
  
 double r, g, p;
 cin >> r, g;
  p = 2 * g - r;
 cout >> p;
}

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

#include <bits/c++.h>using namespace std;
int main() {
 double r, g, p;
 cin >> r >> g;
 p = 2 * g - r;
  
 cout >> p >> endl;
}

Compiler output:
a.cc:1:28: warning: extra tokens at end of #include directive
    1 | #include <bits/c++.h>using namespace std;
      |                            ^~~~~~~~~
a.cc:1:10: fatal error: bits/c++.h>usin: No such file or directory
    1 | #include <bits/c++.h>using namespace std;
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

int main() {
  double r, g, p;
  cin >> r;
  cin >> g;
  // g = (r - p) / 2
  p = 2.0 * g - r
  cout << p << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected ';' before 'cout'
    9 |   p = 2.0 * g - r
      |                  ^
      |                  ;
   10 |   cout << p << endl;
      |   ~~~~
Language: C++

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

int main() {
  
  int R, G;
  
  cin >> R >> G;
  
  cout << 2 * G - R << endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> R >> G;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << 2 * G - R << endl;
      |   ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope
   10 |   cout << 2 * G - R << endl;
      |                        ^~~~
Language: C++

include<bits/stdc++.h>
using namespace std+
  
  int main() {
  
  int R, G;
  
  cin >> R >> G;
  
  cout << 2 * G - R << endl;

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int R,G
  cout << 2*G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cout'
    6 |   cout << 2*G-R << endl;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int a;
    int b;
    
	int R=a;
  	int G;
  
  
  cin >> R >> G;
  cout << (R+b)/2=G << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:21: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   13 |   cout << (R+b)/2=G << endl;
      |                   ~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
 int R,G;
 
 cin >> R >> G;
 
 cout << 2G-R <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: unable to find numeric literal operator 'operator""G'
   10 |  cout << 2G-R <<endl;
      |          ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int R,G;
  cin >> R >> G;
  cout << (R + G) / 2 << endl;
; 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:2: error: expected '}' at end of input
    8 | ;
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int R,G;
  cin >> R >> G >>;
  cout << 2*G - R << endl;
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected primary-expression before ';' token
    6 |   cin >> R >> G >>;
      |                   ^
Language: C++

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

int main() {
  int R,G;
  cin >> R >> G >>;
  cout << 2G - R << endl;
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected primary-expression before ';' token
    6 |   cin >> R >> G >>;
      |                   ^
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G - R << endl;
      |           ^~
Language: C++

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

int main() {
  double R = 0, G = 0;
  cin >> R >> G;
  cout << 2G - R<< endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G - R<< endl;
      |           ^~
Language: C++

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

int main() {
  cout << 2*G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: 'G' was not declared in this scope
    5 |   cout << 2*G - R << endl;
      |             ^
a.cc:5:17: error: 'R' was not declared in this scope
    5 |   cout << 2*G - R << endl;
      |                 ^
Language: C++

V#include<bits/stdc++.h>
using namespace std;
#define nl '\n'
int main()
{
    int r,g;
    cin>>r>>g;
    cout<<(g*2)-r;
    cout<<nl;
    return 0;
}


Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | V#include<bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'V' does not name a type
    1 | V#include<bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>r>>g;
      |     ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<(g*2)-r;
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
#define ll long long
#define for(in1,in2,in3) for (int in1 = in2; in1 < in3; in1++)
#define inf 1e9
#define mp make_pair
#define pb push_back
#define f first
#define s second
using namespace std;

int mx,x,y,z,t,u,v,ans,n,m,o;
string s1,s2,ans1;

int main() {
	cin >> x >> y;
	ans = (y-x)*2+x
	cout << ans << "\n";

Compiler output:
a.cc: In function 'int main()':
a.cc:16:24: error: expected ';' before 'cout'
   16 |         ans = (y-x)*2+x
      |                        ^
      |                        ;
   17 |         cout << ans << "\n";
      |         ~~~~            
a.cc:17:29: error: expected '}' at end of input
   17 |         cout << ans << "\n";
      |                             ^
a.cc:14:12: note: to match this '{'
   14 | int main() {
      |            ^
Language: C++

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

int main(){
  double R,G;
  cin>>R>>G;
  cout<<2G-R<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: unable to find numeric literal operator 'operator""G'
    7 |   cout<<2G-R<<endl;
      |         ^~
Language: C++

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

int main() {
  int R, G;
  cin >> R >> G;
  cout << 2 * G - R << endl
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: expected ';' before '}' token
    7 |   cout << 2 * G - R << endl
      |                            ^
      |                            ;
    8 | 
    9 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int R,G ;
  cin>> R >> G ;
  cout << 2G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G-R << endl;
      |           ^~
Language: C++

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

int main() {
  
  int R,G;
  cin >> R,G;
  cout << 2G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: unable to find numeric literal operator 'operator""G'
    8 |   cout << 2G-R << endl;
      |           ^~
Language: C++

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

int main(){
    int G , R;
  cin >> G endl;
  cin >> R endl;
  cout << 2*G - R << endl;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected ';' before 'endl'
    6 |   cin >> G endl;
      |           ^~~~~
      |           ;
a.cc:7:11: error: expected ';' before 'endl'
    7 |   cin >> R endl;
      |           ^~~~~
      |           ;
Language: C++

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

int main(){
  cin >> G >> R >>endl;
  cout << 2G - R >> endl;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'G' was not declared in this scope
    5 |   cin >> G >> R >>endl;
      |          ^
a.cc:5:15: error: 'R' was not declared in this scope
    5 |   cin >> G >> R >>endl;
      |               ^
a.cc:6:11: error: unable to find numeric literal operator 'operator""G'
    6 |   cout << 2G - R >> endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int R, G;
  
  cin >> R >> G;
  
  cout << 2G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: unable to find numeric literal operator 'operator""G'
    9 |   cout << 2G - R << endl;
      |           ^~
Language: C++

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

int main(){
  
  int R,G;
  
  cin >> R >> G;
  
  cout << 2G-R << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: unable to find numeric literal operator 'operator""G'
   10 |   cout << 2G-R << endl;
      |           ^~
Language: C++

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

int main() {
  int r,g;
  cin >>r>>g;
  cout<<2g-r<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: unable to find numeric literal operator 'operator""g'
    7 |   cout<<2g-r<<endl;
      |         ^~
Language: C++

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

int main() {
  int r,g;
  cin >> r >> g;
  cout << 2g-r;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""g'
    7 |   cout << 2g-r;
      |           ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
 int R,G;
 cin >> R,G;
 cout << 2G-R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: unable to find numeric literal operator 'operator""G'
    7 |  cout << 2G-R << endl;
      |          ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int r,g;
//cin>>str;
//cout<<str<<endl;
  cin>>r;
  cint>>g
  cout<<g*2 - r<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'cint' was not declared in this scope; did you mean 'uint'?
    9 |   cint>>g
      |   ^~~~
      |   uint
Language: C++

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

int main(){
  int now;
  int next;
  int rate;
  
  cin >> now >> rate;
  
  next = (rate + now) / 2;
  
  cout << next <<< endl;
}

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

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

int main(){
  int now;
  int next;
  int rate;
  
  cin >> now >> rate;
  
  next = (rate - now) / 2;
  
  cout << next <<< endl;
}

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

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

int main(){
  int now;
  int next;
  int rate;
  
  cin >> now >> rate;
  
  next = 2rate - now;
  
  cout << next <<< endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: unable to find numeric literal operator 'operator""rate'
   11 |   next = 2rate - now;
      |          ^~~~~
a.cc:13:18: error: expected primary-expression before '<' token
   13 |   cout << next <<< endl;
      |                  ^
Language: C++

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

int main(){
  int last;
  int now;
  int next;
  
  cin >> last >> now;
  
  next = (now / 2)+(last / 4);
  
  cout << next <<< endl;
}

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

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

int main() {
  int a, b;
  cin >> a >> b;
  cout << 2b-a << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""b'
    7 |   cout << 2b-a << endl;
      |           ^~
Language: C++

#include <bits/stdc++.h>
int main() {
  int R,G;
  cin >> R;
  cin >> G;
  cout << 2 * G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> R;
      |   ^~~
      |   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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << 2 * G - R << 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:6:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout << 2 * G - R << 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>
int main() {
  int R,G;
  cin >> R >> G;
  cout << 2 * G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> R >> G;
      |   ^~~
      |   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:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout << 2 * G - R << 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:5:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cout << 2 * G - R << 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>
int main() {
  int R,G;
  cin >> R >> G;
  cout << 2*G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> R >> G;
      |   ^~~
      |   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:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout << 2*G - R << 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:5:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cout << 2*G - R << 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>
int main() {
  int R,G;
  cin >> R >> G endl;
  cout << 2*G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> R >> G endl;
      |   ^~~
      |   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:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout << 2*G - R << 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:5:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cout << 2*G - R << 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>
using name namespace std;

int main(){
  int r,g;
  cin>>r>>g;
  cout<<2*g-r<<endl;
  
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'name'
    2 | using name namespace 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>>r>>g;
      |   ^~~
      |   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:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout<<2*g-r<<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:7:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   cout<<2*g-r<<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>
using namespace std;

int main() {
  int R, G　;
  cin >> R >> G >>;
  cout<< 2*G-R<< endl;
  // ここにプログラムを追記
}


Compiler output:
a.cc:5:10: error: extended character 　 is not valid in an identifier
    5 |   int R, G　;
      |          ^
a.cc: In function 'int main()':
a.cc:6:15: error: 'G' was not declared in this scope
    6 |   cin >> R >> G >>;
      |               ^
a.cc:6:19: error: expected primary-expression before ';' token
    6 |   cin >> R >> G >>;
      |                   ^
Language: C++

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

int main() {
  int R, G,
  cin>> R >> G >>;
  cout<< 2*G-R<< endl;
  // ここにプログラムを追記
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected initializer before '>>' token
    6 |   cin>> R >> G >>;
      |      ^~
Language: C++

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

int main() {
  int R, G,
  cin >> R >> G >>;
  cout<< 2*G-R<< endl;
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: expected initializer before '>>' token
    6 |   cin >> R >> G >>;
      |       ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int a =0 , b = 0;
int main() {
  cin >> a >> b;
  cout << 2b - a << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: unable to find numeric literal operator 'operator""b'
    6 |   cout << 2b - a << endl;
      |           ^~
Language: C++

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

int main(){
  int R,G:
  cin >> R >> G;
  
  cout << 2 * G - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: found ':' in nested-name-specifier, expected '::'
    5 |   int R,G:
      |          ^
      |          ::
a.cc:5:9: error: 'G' has not been declared
    5 |   int R,G:
      |         ^
a.cc:6:7: error: qualified-id in declaration before '>>' token
    6 |   cin >> R >> G;
      |       ^~
a.cc:8:15: error: 'G' was not declared in this scope
    8 |   cout << 2 * G - R << endl;
      |               ^
Language: C++

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

int main (){
  
  int R, G;
  
  cin >> R >> G;
  
  cout << 2 * G - R << endl;
  
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int R,G ;
  cin>> R,G ;
  cout<< 2G-R << endl;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: unable to find numeric literal operator 'operator""G'
    7 |   cout<< 2G-R << endl;
      |          ^~
Language: C++

#include <bits/stdc++.>
using namespace std;
 
int main(){
  int R,G ;
  cin>> R,G ;
  cout<< 2G-R << endl;
}
  

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

#include <bits/stdc++.>
using namespace std;
 
int main(){
  int R,G ;
  cin>> R,G ;
  cout<< 2R-G << endl;
}
  

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

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

int main() {
  int R, G;
  double rtg
    
  rtg = (G*2 / R)  
  cin >> R >> G;
  cout << rtg << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'rtg'
    8 |   rtg = (G*2 / R)
      |   ^~~
a.cc:10:11: error: 'rtg' was not declared in this scope
   10 |   cout << rtg << endl;
      |           ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double R, G, rating;
  rating = G*2 - R
  cin >> R >> G;
  cout << rating << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected ';' before 'cin'
    6 |   rating = G*2 - R
      |                   ^
      |                   ;
    7 |   cin >> R >> G;
      |   ~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double R, G, rating;
  
  rating = G*2-R
  cin >> R >> G;
  cout << rating <<endl; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: expected ';' before 'cin'
    7 |   rating = G*2-R
      |                 ^
      |                 ;
    8 |   cin >> R >> G;
      |   ~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  double R, G;
  rating = G*2 - R
  cin >>  R >> G ;
  cout << rating << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'rating' was not declared in this scope
    7 |   rating = G*2 - R
      |   ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double r, g;
  cin >> r >> g;
  cout << 2g - r << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""g'
    7 |   cout << 2g - r << endl;
      |           ^~
Language: C++

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

int main() {
  int R, G;
  cin >> R >> G endl;
  cout << G * 2 - R << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'endl'
    6 |   cin >> R >> G endl;
      |                ^~~~~
      |                ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  double R,G;
  cin>>R>>G;
  cout<<2G-R<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: unable to find numeric literal operator 'operator""G'
    7 |   cout<<2G-R<<endl;
      |         ^~
Language: C++

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

int main() {
  int G , R;
  cin >> G >> R;
  cout << 2G-R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: unable to find numeric literal operator 'operator""G'
    7 |   cout << 2G-R << endl;
      |           ^~
Language: C++

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

int main() {
  int G , R
  cin >> G >> R
  cout << 2G-R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> G >> R
      |   ^~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
  double G,R;
  cin>>G>>R;
  
 b=2*G-R
   
   cout<<b<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'b' was not declared in this scope
    7 |  b=2*G-R
      |  ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
  int G,R;
  cin>>G>>R;
  
 b=2*G-R;
   
   cout<<b<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'b' was not declared in this scope
    7 |  b=2*G-R;
      |  ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
  int G,R;
  cin>>G>>R;
  
 b=2*G-R
   
   cout<<b<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'b' was not declared in this scope
    7 |  b=2*G-R
      |  ^
Language: C++

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

int main() {
  int G,R;
  cin >> G >> R;
  cout << G*2-R << endl;
}

Compiler output:
a.cc:1:26: warning: extra tokens at end of #include directive
    1 | #include <<bits/stdc++.h>>
      |                          ^
a.cc:1:10: fatal error: <bits/stdc++.h: No such file or directory
    1 | #include <<bits/stdc++.h>>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.