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

#include <iostream>
#using namespace std;
#define rep2(x,from,to) for(int x=(from);x<(to);++(x))
#define rep(x,to) rep2(x,0,to)
int main() {
	int sum = 0, c;
	rep(i,10) {
		cin >> c;
		sum += c;
	}
	cout << sum << endl;
}

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #using
    2 | #using namespace std;
      |  ^~~~~
a.cc: In function 'int main()':
a.cc:8:17: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |                 cin >> c;
      |                 ^~~
      |                 std::cin
In file included 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:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << sum << 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:11:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << sum << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/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(void){

int sum = 0;
for(int i = 0; i < 10; i++){
int a;
cin >> a;
sum += a;
}
cout << a << endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'a' was not declared in this scope
   12 | cout << a << endl;
      |         ^
Language: C++

#include <iostream>

int main() {
	int s[10];
	for (int i = 0; i < 10; i++)
		cin >> s[i];

	int sum;
	for (int i = 0; i < 10; i++, sum ;= s[i]);
	cout << sum << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |                 cin >> s[i];
      |                 ^~~
      |                 std::cin
In file included 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:9:41: error: expected ')' before ';' token
    9 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |             ~                           ^~
      |                                         )
a.cc:9:43: error: expected primary-expression before '=' token
    9 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |                                           ^
a.cc:9:47: error: 'i' was not declared in this scope
    9 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |                                               ^
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << sum << 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:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         cout << sum << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/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 s[10];
	for (int i = 0; i < 10; i++)
		cin >> s[i];

	int sum;
	for (int i = 0; i < 10; i++, sum ;= s[i]);
	cout << sum << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:41: error: expected ')' before ';' token
   11 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |             ~                           ^~
      |                                         )
a.cc:11:43: error: expected primary-expression before '=' token
   11 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |                                           ^
a.cc:11:47: error: 'i' was not declared in this scope
   11 |         for (int i = 0; i < 10; i++, sum ;= s[i]);
      |                                               ^
Language: C++

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

#define INF (1 << 28)
#define BIT(x) (1ull << (x))
#define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define EACH(i, v) for (__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
#define PQ(t) priority_queue<t>
#define PQL(t) priority_queue<t, vector<t>, greater<t> >
#define MP make_pair
#define PB push_back
#define ALL(v) (v).begin(), (v).end()
#define UNIQ(v) do {sort(ALL(v)); (v).erase(unique(ALL(v)), (v).end());} while (0)
template <typename T> inline bool chmax(T &a, T b){if (a < b){a = b; return true;} return false;}
template <typename T> inline bool chmin(T &a, T b){if (a > b){a = b; return true;} return false;}

int main()
{
	int sum = 0;
	FOR(i, 10){
		int a;
		scanf("%d", &a);
		sum += a;
	}
	printf("%d\n", sum);
}

Compiler output:
a.cc:21:18: error: macro "FOR" requires 3 arguments, but only 2 given
   21 |         FOR(i, 10){
      |                  ^
a.cc:6:9: note: macro "FOR" defined here
    6 | #define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
      |         ^~~
a.cc: In function 'int main()':
a.cc:21:9: error: 'FOR' was not declared in this scope
   21 |         FOR(i, 10){
      |         ^~~
Language: C++

#include<stdio.h>int main(){int a = 0,in; for(int i = 0; i <10; i++){scanf("%d",&in);a += in;}printf("%d",a);  return 0;}

Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(){int a = 0,in; for(int i = 0; i <10; i++){scanf("%d",&in);a += in;}printf("%d",a);  return 0;}
      |                      ^~~~
a.cc:1:9: fatal error: stdio.h>in: No such file or directory
    1 | #include<stdio.h>int main(){int a = 0,in; for(int i = 0; i <10; i++){scanf("%d",&in);a += in;}printf("%d",a);  return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
using nemespace std;

int main()
{
	int a,b,c,d,e,f,g,h,i,j,k;
	cin >> a >> b >> c >> d >> e >> f >> g >> h >> i >> j;
	k = a+b+c+d+e+f+g+h+i+j;
	cout << k << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nemespace'
    2 | using nemespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b >> c >> d >> e >> f >> g >> h >> i >> j;
      |         ^~~
      |         std::cin
In file included 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:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout << k << 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:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         cout << k << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using nemespace std;

int main()
{
	int a,b,c,d,e,f,g,h,i,j,k;
	cin >> a 
	cin>> b 
	cin>> c 
	cin>> d 
	cin>> e 
	cin>> f 
	cin>> g 
	cin>> h 
	cin>> i 
	cin>> j;
	k = a+b+c+d+e+f+g+h+i+j;
	cout << k << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nemespace'
    2 | using nemespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a
      |         ^~~
      |         std::cin
In file included 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:18:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |         cout << k << 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:18:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |         cout << k << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using nemespace std;

int main()
{
	int a,b,c,d,e,f,g,h,i,j,k;
	cin >> a 
	cin >> b 
	cin >> c 
	cin >> d 
	cin >> e 
	cin >> f 
	cin >> g 
	cin >> h 
	cin >> i 
	cin >> j;
	k = a+b+c+d+e+f+g+h+i+j;
	cout << k << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nemespace'
    2 | using nemespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a
      |         ^~~
      |         std::cin
In file included 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:18:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |         cout << k << 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:18:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |         cout << k << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/iostream:41:
/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 sum = 0;
	for???(int i = 0; i < 10; i++) {
		int s;
		cin >> s;
		sum += s;
	}
	cout j<< sum << endl;
	
	return 0;
}

Compiler output:
a.cc:8:13: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
    8 |         for???(int i = 0; i < 10; i++) {
a.cc: In function 'int main()':
a.cc:8:12: error: expected '(' before '?' token
    8 |         for???(int i = 0; i < 10; i++) {
      |            ^
      |            (
a.cc:8:12: error: expected primary-expression before '?' token
a.cc:8:13: error: expected primary-expression before '?' token
    8 |         for???(int i = 0; i < 10; i++) {
      |             ^
a.cc:8:14: error: expected primary-expression before '?' token
    8 |         for???(int i = 0; i < 10; i++) {
      |              ^
a.cc:8:16: error: expected primary-expression before 'int'
    8 |         for???(int i = 0; i < 10; i++) {
      |                ^~~
a.cc:8:16: error: expected ')' before 'int'
    8 |         for???(int i = 0; i < 10; i++) {
      |               ~^~~
      |                )
a.cc:8:25: error: expected ':' before ';' token
    8 |         for???(int i = 0; i < 10; i++) {
      |                         ^
      |                         :
a.cc:8:25: error: expected primary-expression before ';' token
a.cc:8:25: error: expected ':' before ';' token
    8 |         for???(int i = 0; i < 10; i++) {
      |                         ^
      |                         :
a.cc:8:25: error: expected primary-expression before ';' token
a.cc:8:25: error: expected ':' before ';' token
    8 |         for???(int i = 0; i < 10; i++) {
      |                         ^
      |                         :
a.cc:8:25: error: expected primary-expression before ';' token
a.cc:8:27: error: 'i' was not declared in this scope
    8 |         for???(int i = 0; i < 10; i++) {
      |                           ^
a.cc:13:13: error: expected ';' before 'j'
   13 |         cout j<< sum << endl;
      |             ^~
      |             ;
Language: C++

#include<iostream>

using namespace std;

int main (){

	int sum = 0;
	for(int i = 0; i < 10; i++) {
		int s;
		cin >> s;
		sum += s;
	}
	cout j<< sum << endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: expected ';' before 'j'
   13 |         cout j<< sum << endl;
      |             ^~
      |             ;
Language: C++


int main(void)
{
         int a,b,c,d,e,f,g,h,i,j,x;
		 scanf("%d",&a);
		 scanf("%d",&b);
		 scanf("%d",&c);
		 scanf("%d",&d);
		 scanf("%d",&e);
		 scanf("%d",&f);
		 scanf("%d",&g);
		 scanf("%d",&h);
		 scanf("%d",&i);
		 scanf("%d",&j);
		 x = a + b + c + d + e + f + g + h + i + j;
		 printf("%d\n",x);
		 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: 'scanf' was not declared in this scope
    5 |                  scanf("%d",&a);
      |                  ^~~~~
a.cc:16:18: error: 'printf' was not declared in this scope
   16 |                  printf("%d\n",x);
      |                  ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 |
Language: C++

#include<stdio.h>
int main(void)
{
         int a,b,c,d,e,f,g,h,i,j,x;
		 scanf("%d",&a);
		 scanf("%d",&b);
		 scanf("%d",&c);
		 scanf("%d",&d);
		 scanf("%d",&e);
		 scanf("%d",&f);
		 scanf("%d",&g);
		 scanf("%d",&h);
		 scanf("%d",&i);
		 scanf("%d",&j);
		 x = a + b + c + d + e + f + g + h + i + j;
		 printf("%d\n",x);
		 return 0;

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

#include<iostream>

int main(){
  int point;
  for(int i = 0; i <10; i++){
    int x; cin >> x;
    point += x;
  }
  cout<<x<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     int x; cin >> x;
      |            ^~~
      |            std::cin
In file included 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:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout<<x<<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:9:9: error: 'x' was not declared in this scope
    9 |   cout<<x<<endl;
      |         ^
a.cc:9:12: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout<<x<<endl;
      |            ^~~~
      |            std::endl
In file included from /usr/include/c++/14/iostream:41:
/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 point;
  for(int i = 0; i <10; i++){
    int x; cin >> x;
    point += x;
  }
  cout<<x<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'x' was not declared in this scope
    9 |   cout<<x<<endl;
      |         ^
Language: C++

#include <stdio.h>

int main(void)
{
	int a,b=0,i,j;
	for(i=0;i<10;i++){
		scanf("%d",6a);
		b=b+a;
	}
	printf("%d\n",b);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: unable to find numeric literal operator 'operator""a'
    7 |                 scanf("%d",6a);
      |                            ^~
Language: C++

#include <stdio.h>

int main(void){

int a,i,ans;

scanf("%d",&i);

for(i=0;i<=10;i++){

a==0;

ans=a+i;
}
printf("%d\n",ans);

return ;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:1: error: return-statement with no value, in function returning 'int' [-fpermissive]
   17 | return ;
      | ^~~~~~
Language: C++

#include <stdio.h>

int main(void) {

	int a, i;
	int ans=0;


	for (i = 0; i < 10; i++) {

		scanf_s("%d", &a);

		ans = ans + a;

	}
	printf("%d\n", ans);
	

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   11 |                 scanf_s("%d", &a);
      |                 ^~~~~~~
      |                 scanf
Language: C++

import java.util.Scanner;

public class Main{
	
	public static void main(String[] args){
		int data[] = new int[10];
		Scanner scan = new Scanner(System.in);
		for(int i = 0; i < 10; i++){
			data[i] = scan.nextInt();
		}
		int total = 0;
		for(int i = 0; i < 10; i++){
			total = total + data[i];
		}
		System.out.println(total);
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main{
      | ^~~~~~
Language: C++

import std.conv;
import std.stdio;
import std.array;
import std.range;
import std.string;
import std.algorithm;

void main()
{
	int sum = 0;
	
	foreach(_; 0..10) {
		sum += readln().chomp().to!int;
	}

	writeln(sum);
}

Compiler output:
a.cc:12:20: error: too many decimal points in number
   12 |         foreach(_; 0..10) {
      |                    ^~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import std.conv;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import std.stdio;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import std.array;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: 'import' does not name a type
    4 | import std.range;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: 'import' does not name a type
    5 | import std.string;
      | ^~~~~~
a.cc:5:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:6:1: error: 'import' does not name a type
    6 | import std.algorithm;
      | ^~~~~~
a.cc:6:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:8:1: error: '::main' must return 'int'
    8 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:12:17: error: '_' was not declared in this scope
   12 |         foreach(_; 0..10) {
      |                 ^
a.cc:16:9: error: 'writeln' was not declared in this scope
   16 |         writeln(sum);
      |         ^~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main (int argc, char const* argv[])
{
    int p=0;
    for (int  i = 0; i < 10; ++i)
    {
        int j;
        cin >> j;
        p += j;
    }
    cout << j << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:13:13: error: 'j' was not declared in this scope
   13 |     cout << j << endl;
      |             ^
Language: Java

import java.util.Scanner;

public class maina{

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a[]=sc.nextLine().split (" ");
		String b=a[0]+a[1]+a[2];
		int ans=Integer.parseInt(b,2);
		if(ans==6||ans==1)System.out.println("Open");
		else System.out.println("Close");
	}
}

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

import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	if(a==b&&a!=c)System.out.println("Open");
	else System.out.println("Close")
    }
    public static void main(String[]ag){
	new Main().main();
    }
}

Compiler output:
Main.java:9: error: ';' expected
	else System.out.println("Close")
	                                ^
1 error
Language: Java

import java.util.Scanner;

public class Main2{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int b1 = scan.nextInt();
		int b2 = scan.nextInt();
		int b3 = scan.nextInt();
		if(b1 == 1 && b2 == 0 && b3 == 0 || b1 == 0 && b2 == 1 && b3 == 0 || b1 == 0 && b2 == 0 && b3 == 0){
			System.out.println("Close");
		} else {
			if(b1 == 1 && b2 == 1 && b2 == 0 || b1 == 0 && b2 == 0 && b3 == 1){
				System.out.println("Open");
			}
		}
	}
}

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

include <stdio.h>

int main(void){
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if((a == 1 && b == 1) || (c == 1)){
    printf("Open\n");
  }else{
    printf("Close\n");
  }
  return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include <stdio.h>
int main(void)
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	if (a==1&&b==0&&c==0)
	{
		printf("Close\n");
	}
	if (a==0&&b==1&&c==0)
	{
		printf("Close\n");
	}
	if (a==a&&b==1&&c==0)
	{
		printf("Open\n");
	}
	if (a==0&&b==0&&c==1)
	{
		printf("Open\n");
	}
	if (a==0&&b==&&c==0)
	{
		printf("Close\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:22:20: warning: comparison between pointer and integer
   22 |         if (a==0&&b==&&c==0)
      |                    ^~
main.c:22:9: error: label 'c' used but not defined
   22 |         if (a==0&&b==&&c==0)
      |         ^~
Language: C

#include <stdio.h>
int main(void)
{
	int a,b,c,d,e;
	scanf("%d %d %d",&a,&b,&c);
	if (a==1&&b==1&&c==0||a&b==0&&c==1){
	printf("Open\n");
	}
	else 
        printf("Close\n")
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:26: error: expected ';' before 'return'
   10 |         printf("Close\n")
      |                          ^
      |                          ;
   11 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>
int main(void)
{
	int a,b,c,d,e;
	scanf("%d %d %d",&a,&b,&c);
	if (a==1&&b==1&&c==0||a&b==0&&c==1){
	printf("Open\n");
	}
	else {
        printf("Close\n")
	}	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:26: error: expected ';' before '}' token
   10 |         printf("Close\n")
      |                          ^
      |                          ;
   11 |         }
      |         ~
Language: C

#include <stdio.h>
int main(void)
{
	int a,b,c,d,e;
	scanf("%d %d %d",&a,&b,&c);
	if (a==1&&b==1&&c==0||a==0&&b==0&&c==1){
	printf("Open\n");
	}
	else {
        printf("Close\n")
	}	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:26: error: expected ';' before '}' token
   10 |         printf("Close\n")
      |                          ^
      |                          ;
   11 |         }
      |         ~
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a=1&&b=0&&c=0){
printf("Close");
}
else if(a=0&&b=1&&c=0){
printf("Close");
}
else if(a=1&&b=1&&c=0){
printf("Open");
}
else if(a=0&&b=0&&c=1){
printf("Open");
}
else{
printf("Close");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=0&&c=0){
      |               ^
main.c:9:20: error: lvalue required as left operand of assignment
    9 | else if(a=0&&b=1&&c=0){
      |                    ^
main.c:12:20: error: lvalue required as left operand of assignment
   12 | else if(a=1&&b=1&&c=0){
      |                    ^
main.c:15:20: error: lvalue required as left operand of assignment
   15 | else if(a=0&&b=0&&c=1){
      |                    ^
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a=1&&b=1&&c=0){
printf("Open");
}
else if(a=0&&b=0&&c=1){
printf("Open");
}
else{
printf("Close");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=1&&c=0){
      |               ^
main.c:9:20: error: lvalue required as left operand of assignment
    9 | else if(a=0&&b=0&&c=1){
      |                    ^
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a=1&&b=1&&c=0){
printf("Open\n");
}
else if(a=0&&b=0&&c=1){
printf("Open\n");
}
else{
printf("Close\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=1&&c=0){
      |               ^
main.c:9:20: error: lvalue required as left operand of assignment
    9 | else if(a=0&&b=0&&c=1){
      |                    ^
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
printf("Open\n");
}
else{
printf("Close\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:30: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
      |                              ^
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
printf("Open\n");
}
else{
printf("Close\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:30: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
      |                              ^
Language: C

#include<stdio.h>
int main(){
int b1,b2,b3;
scanf("%d%d%d",&b1,&b2,&b3);
if(b1=1&&b2=1&&b3=0||b1=0&&b2=0&&b3=1){
printf("Open\n");
}
else{
printf("Close\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:36: error: lvalue required as left operand of assignment
    5 | if(b1=1&&b2=1&&b3=0||b1=0&&b2=0&&b3=1){
      |                                    ^
Language: C

#include<stdio.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
printf ("Open\n");
}
else{
printf ("Close\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:30: error: lvalue required as left operand of assignment
    6 | if(a=1&&b=1&&c=0||a=0&&b=0&&c=1){
      |                              ^
Language: C

#include<stdio.h>

int main(void)
{
	int b1,b2,b3;
	b1=1;
	b2=0;

	scanf("%d",&b);

	if(b2 b2 b1){
		printf("Open\n",b3);
		}

	if(b2 b2 b1){
		printf("Open\n",b3);
		}

	else{
		printf("Close\n",b3);
		}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:21: error: 'b' undeclared (first use in this function); did you mean 'b3'?
    9 |         scanf("%d",&b);
      |                     ^
      |                     b3
main.c:9:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:14: error: expected ')' before 'b2'
   11 |         if(b2 b2 b1){
      |           ~  ^~~
      |              )
main.c:15:14: error: expected ')' before 'b2'
   15 |         if(b2 b2 b1){
      |           ~  ^~~
      |              )
Language: C

#include<stdio.h>

int main(void)
{
	int s1,s2,s3;
	
	scanf("%d %d %d",&s1,&s2,&s3);

	if(s1==1&&s2==1&&s3==0){
		printf("Open\n");
		}

	if(s==0&&s2==0&&s3==1){
		printf("Open\n");
		}

	else{
		printf("Close\n");
		}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:12: error: 's' undeclared (first use in this function); did you mean 's3'?
   13 |         if(s==0&&s2==0&&s3==1){
      |            ^
      |            s3
main.c:13:12: note: each undeclared identifier is reported only once for each function it appears in
Language: C

a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |     ^~~~
main.c: In function 'main':
main.c:1:12: error: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |            ^~~~
main.c:1:20: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |                    ^~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts'
  +++ |+#include <stdio.h>
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
main.c:1:65: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |                                                                 ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
main.c:1:65: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |                                                                 ^~~~
main.c:1:65: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:72: error: expected ';' before '}' token
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      |                                                                        ^
      |                                                                        ;
main.c: At top level:
main.c:1:1: warning: array 'a' assumed to have one element
    1 | a[];main(){gets(a);puts(15&*a&15&*a>>16|15&a[1]?"Open":"Close");exit(0)}
      | ^
Language: C

#include<stdio.h>
a[2];
main(){
 gets(a);
 puts(a/7%6)|a[1]%2?"Open":"Close");
}

Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | a[2];
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    4 |  gets(a);
      |  ^~~~
      |  fgets
main.c:5:8: error: invalid operands to binary / (have 'int *' and 'int')
    5 |  puts(a/7%6)|a[1]%2?"Open":"Close");
      |       ~^
      |       |
      |       int *
main.c:5:35: error: expected ';' before ')' token
    5 |  puts(a/7%6)|a[1]%2?"Open":"Close");
      |                                   ^
      |                                   ;
main.c:5:35: error: expected statement before ')' token
Language: C

#include<stdio.h>
a[2];
main(){
 gets(a);
 puts(*a/7%6)|a[1]%2?"Open":"Close");
return 0;
}

Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | a[2];
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    4 |  gets(a);
      |  ^~~~
      |  fgets
main.c:5:11: error: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    5 |  puts(*a/7%6)|a[1]%2?"Open":"Close");
      |       ~~~~^~
      |           |
      |           int
In file included from main.c:1:
/usr/include/stdio.h:714:30: note: expected 'const char *' but argument is of type 'int'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
main.c:5:36: error: expected ';' before ')' token
    5 |  puts(*a/7%6)|a[1]%2?"Open":"Close");
      |                                    ^
      |                                    ;
main.c:5:36: error: expected statement before ')' token
Language: C

#include<stdio.h>
a[2];
main(){
 gets(a);
 puts(*a/7%6)|a[1]%2?"Open":"Close");
 exit(0) ;
}

Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | a[2];
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:2: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    4 |  gets(a);
      |  ^~~~
      |  fgets
main.c:5:11: error: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    5 |  puts(*a/7%6)|a[1]%2?"Open":"Close");
      |       ~~~~^~
      |           |
      |           int
In file included from main.c:1:
/usr/include/stdio.h:714:30: note: expected 'const char *' but argument is of type 'int'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
main.c:5:36: error: expected ';' before ')' token
    5 |  puts(*a/7%6)|a[1]%2?"Open":"Close");
      |                                    ^
      |                                    ;
main.c:5:36: error: expected statement before ')' token
main.c:6:2: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    6 |  exit(0) ;
      |  ^~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    1 | #include<stdio.h>
  +++ |+#include <stdlib.h>
    2 | a[2];
main.c:6:2: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    6 |  exit(0) ;
      |  ^~~~
main.c:6:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <time.h>
#include <math.h>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
#include <iterator>
#include <sstream>
#include <string>
#include <bitset>
using namespace std;
#define FOR(I,F,N) for(int I = F; I < (int)(N); I++)
#define rep(i, n) FOR(i, 0, n)
#define FIN(V) cout<<V<<endl
#define pb push_back
#define INF (1 << 30)
typedef pair<int, int> P;
typedef long long ll;
typedef priority_queue<int> pq;
int StrToInt(string);
string IntToStr(int);
int dx[4] = {1, -1, 0, 0};
int dy[4] = {0, 0, 1, -1};

int main(void){
	int a, b, c;
	cin >> a >> b >> c;
	if((a == 1 && b == 1 || c==1)cout << "Open"<<endl;
	else cout << "Close" << endl;

	return 0;
}



int StrToInt(string s){
	stringstream ss;
	ss << s;
	int val;
	ss >> val;
	return val;
}
string IntToStr(int i){
	stringstream ss;
	ss << i;
	return ss.str();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:38: error: expected ';' before 'cout'
   32 |         if((a == 1 && b == 1 || c==1)cout << "Open"<<endl;
      |                                      ^~~~
      |                                      ;
a.cc:33:9: error: expected primary-expression before 'else'
   33 |         else cout << "Close" << endl;
      |         ^~~~
a.cc:32:59: error: expected ')' before 'else'
   32 |         if((a == 1 && b == 1 || c==1)cout << "Open"<<endl;
      |           ~                                               ^
      |                                                           )
   33 |         else cout << "Close" << endl;
      |         ~~~~
Language: C++

include<stdio.h>
int main(void)
{
	int b1,b2,b3;
	scanf("%d",&b1);
	scanf("%d",&b2);
	scanf("%d",&b3);
	
	if(b1=1, b2=0, b3=0) {
		printf("Close\n");
	}
	else if(b1=0, b2=1, b3=0) {
		printf("Close\n");
	}
	else if(b1=0, b2=0, b3=1) {
		printf("Open\n");
	}
	else if(b1=1, b2=1, b3=0) {
		printf("Open\n");
	}
	else if(b1=0, b2=0, b3=0) {
		printf("Close\n");
	}
	return 0;
}

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

#include <iostream>

int main(){
	int b1,b2,b3;
	std::cin>>b1>>b2>>b3;
	if(b1==b2 && b1==1 || b3==1)std::cout<<"Open"<<std:endl;
	else std::cout<<"Close"<<std::endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:59: error: found ':' in nested-name-specifier, expected '::'
    6 |         if(b1==b2 && b1==1 || b3==1)std::cout<<"Open"<<std:endl;
      |                                                           ^
      |                                                           ::
Language: C++

#include<iostream>

using namespace std;

int main() {

	int b1,b2,b3;
	cin >> b1 >> b2 >> b3;

	if ((b1 == 1 && b2 == 1)||b3 == 1) {
		cout << "Open" << endl;
	} else {
		cout << "Close" << endl;
	}

	return 0;
}
1

Compiler output:
a.cc:18:1: error: expected unqualified-id before numeric constant
   18 | 1
      | ^
Language: C++

#include<iostream>
using namespace std;
int main () {
	
	int b1, b2, b3;
	cin >> b1 >> b2 >> b3;

	if ((b1 == 1 && b2 == 1)||b3 == 1) {
		cout << "Open" << endl;
	}else {
		cout << "Close" << endl;

return 0;
}

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

#include<stdio.h>
int main(void)
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	if(a=1&&b=1&&c=0){
		printf("Open\n");
		retun 0;
	}
	if(a=0&&b=0&&c=1){
		printf("Open\n");
		retun 0;
	}
	printf("Close\n");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: lvalue required as left operand of assignment
    6 |         if(a=1&&b=1&&c=0){
      |                   ~^~~
a.cc:8:17: error: 'retun' was not declared in this scope
    8 |                 retun 0;
      |                 ^~~~~
a.cc:10:20: error: lvalue required as left operand of assignment
   10 |         if(a=0&&b=0&&c=1){
      |                   ~^~~
a.cc:12:17: error: 'retun' was not declared in this scope
   12 |                 retun 0;
      |                 ^~~~~
Language: C++

#include<stdio.h>
int main(void)
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	if(a=1&&b=1&&c=0){
		printf("Open\n");
		return 0;
	}
	if(a=0&&b=0&&c=1){
		printf("Open\n");
		return 0;
	}
	printf("Close\n");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: lvalue required as left operand of assignment
    6 |         if(a=1&&b=1&&c=0){
      |                   ~^~~
a.cc:10:20: error: lvalue required as left operand of assignment
   10 |         if(a=0&&b=0&&c=1){
      |                   ~^~~
Language: C++

#include<stdio.h>
int main(void)
{
		int i,n,f;
		scanf("%d %d %d",&i,&n,&f);
		if(i=1||n=0||f=0){
			printf("Close\n");
			}
		if(i=0||n=1||f=0){
			printf("Close\n");
			}
		if(i=1||n=1||f=0){
			printf("Oprn\n");
			}
		if(i=0||n=0||f=1){
			printf("Open\n");
			}
		if(i=0||n=0||f=0){
			printf("Close\n");
			}
		return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:28: error: lvalue required as left operand of assignment
    6 |                 if(i=1||n=0||f=0){
      |                           ~^~~
a.cc:9:28: error: lvalue required as left operand of assignment
    9 |                 if(i=0||n=1||f=0){
      |                           ~^~~
a.cc:12:28: error: lvalue required as left operand of assignment
   12 |                 if(i=1||n=1||f=0){
      |                           ~^~~
a.cc:15:28: error: lvalue required as left operand of assignment
   15 |                 if(i=0||n=0||f=1){
      |                           ~^~~
a.cc:18:28: error: lvalue required as left operand of assignment
   18 |                 if(i=0||n=0||f=0){
      |                           ~^~~
Language: C++

#include<stdio.h>
int main(void)
{
		int i,n,f;
		scanf("%d %d %d",&i,&n,&f);
		if(i=1&&n=0&&f=0){
			printf("Close\n");
			}
		if(i=0&&n=1&&f=0){
			printf("Close\n");
			}
		if(i=1&&n=1&&f=0){
			printf("Oprn\n");
			}
		if(i=0&&n=0&&f=1){
			printf("Open\n");
			}
		if(i=0&&n=0&&f=0){
			printf("Close\n");
			}
		return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:28: error: lvalue required as left operand of assignment
    6 |                 if(i=1&&n=0&&f=0){
      |                           ~^~~
a.cc:9:28: error: lvalue required as left operand of assignment
    9 |                 if(i=0&&n=1&&f=0){
      |                           ~^~~
a.cc:12:28: error: lvalue required as left operand of assignment
   12 |                 if(i=1&&n=1&&f=0){
      |                           ~^~~
a.cc:15:28: error: lvalue required as left operand of assignment
   15 |                 if(i=0&&n=0&&f=1){
      |                           ~^~~
a.cc:18:28: error: lvalue required as left operand of assignment
   18 |                 if(i=0&&n=0&&f=0){
      |                           ~^~~
Language: C++

int main(void)
{
    int i,a[10];
	for(i=0;i<3;i++){
	scanf("%d",&a[i]);
	}
	for(i=0;i<1;i++){
	if(a[i]==1&&a[i+1]==1&&a[i+2]==0){
	printf("Open\n");
	}
	else if(a[i]==0&&a[i+1]==0&&a[i+2]==1){
	printf("Open\n");
	}
	else{
	printf("Close\n");
	}
	}
	return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf' was not declared in this scope
    5 |         scanf("%d",&a[i]);
      |         ^~~~~
a.cc:9:9: error: 'printf' was not declared in this scope
    9 |         printf("Open\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:12:9: error: 'printf' was not declared in this scope
   12 |         printf("Open\n");
      |         ^~~~~~
a.cc:12:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:15:9: error: 'printf' was not declared in this scope
   15 |         printf("Close\n");
      |         ^~~~~~
a.cc:15:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

/*omaera kann ning sunn na gomi www (^p^)9m*/#include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}

Compiler output:
a.cc:1:67: warning: extra tokens at end of #include directive
    1 | /*omaera kann ning sunn na gomi www (^p^)9m*/#include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |                                                                   ^~~~
a.cc:1:54: fatal error: stdio.h>in: No such file or directory
    1 | /*omaera kann ning sunn na gomi www (^p^)9m*/#include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |                                                      ^~~~~~~~~~~~
compilation terminated.
Language: C++

#include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}

Compiler output:
a.cc:1:22: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |                      ^~~~
a.cc:1:9: fatal error: stdio.h>in: No such file or directory
    1 | #include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++








/*        omaera kann ning sunn na gomi www (^p^)9m       */











#include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}

Compiler output:
a.cc:20:22: warning: extra tokens at end of #include directive
   20 | #include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |                      ^~~~
a.cc:20:9: fatal error: stdio.h>in: No such file or directory
   20 | #include<stdio.h>int main(){int b1,b2,b3;scanf("%d%d%d",&b1,&b2,&b3);if(b1==1&&b2==1||b3==1){printf("Open\n");}else{printf("Close\n");}return 0;}
      |         ^~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
#include<algorithm>
#define REP(i,Z) for(int i=0;i<Z;i++)
int main(){


	int a,b,c,A;	
	cin>>a>>b>>c;
	A=a*4+b*2+c;
	}
	if(A==1||A==6){
	cout<<"Open"<<endl;
	}
	else{
	cout<<"Close"<<endl;
	}
	return 0;
}

Compiler output:
a.cc:12:9: error: expected unqualified-id before 'if'
   12 |         if(A==1||A==6){
      |         ^~
a.cc:15:9: error: expected unqualified-id before 'else'
   15 |         else{
      |         ^~~~
a.cc:18:9: error: expected unqualified-id before 'return'
   18 |         return 0;
      |         ^~~~~~
a.cc:19:1: error: expected declaration before '}' token
   19 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int temp;
  int x;
  cin >> temp;
  x += temp * 100;
  cin >> temp;
  x += temp*10;
  cin >> temp;
  x += temp;

  switch(temp){
  case 100:
  case 10:
  case 0:cout << "Close"<<endl;break;
  case 110:cout << "Open" << endl;break;
  case 1:cout << "Open" << endl;break;
  cefault:cout << "Close"<<endl;break;
  }

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

#inclde<iostream>
using namespace std;
int main()
{
int j,t,r;
cin >> j >> t >> r;
if(r==1 || j==1 && t ==1)
{
cout << "Open" << endl;
}
else cout << "Close" << endl;
return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin >> j >> t >> r;
      | ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclde<iostream>
a.cc:9:1: error: 'cout' was not declared in this scope
    9 | cout << "Open" << endl;
      | ^~~~
a.cc:9:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:19: error: 'endl' was not declared in this scope
    9 | cout << "Open" << endl;
      |                   ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclde<iostream>
a.cc:11:6: error: 'cout' was not declared in this scope
   11 | else cout << "Close" << endl;
      |      ^~~~
a.cc:11:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:25: error: 'endl' was not declared in this scope
   11 | else cout << "Close" << endl;
      |                         ^~~~
a.cc:11:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'