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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
 int name;
  cout<<48-name<<endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected '}' at end of input
    7 |   cout<<48-name<<endl;
      |                       ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
 int name=M;
  cout<<48-name<<endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'M' was not declared in this scope
    6 |  int name=M;
      |           ^
a.cc:7:23: error: expected '}' at end of input
    7 |   cout<<48-name<<endl;
      |                       ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a = M;
 
  cout << 48-a << 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:5:11: error: 'M' was not declared in this scope
    5 |   int a = M;
      |           ^
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << 48-a << endl;
      |   ^~~~
a.cc:7:19: error: 'endl' was not declared in this scope
    7 |   cout << 48-a << endl;
      |                   ^~~~
Language: C++

include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a=M;
 
  cout << 48-M << 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:5:9: error: 'M' was not declared in this scope
    5 |   int a=M;
      |         ^
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << 48-M << endl;
      |   ^~~~
a.cc:7:19: error: 'endl' was not declared in this scope
    7 |   cout << 48-M << endl;
      |                   ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
  int M;
  cin >> M ;
  int x;
  x = 48 - M;
  cout < x << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   10 |   cout < x << endl;
      |          ~~^~~~~~~
Language: C++

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a;
      |   ^~~
a.cc:8:3: error: 'cout' does not name a type
    8 |   cout << (24-a)+24 << endl;
      |   ^~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: expected ';' before 'endl'
    9 |   cout << (24-a)+24 endl;
      |                    ^~~~~
      |                    ;
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main{
  int a;
  cin >> a;
  
  cout << (24-a)+24 endl;
}

Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int main{
      |     ^~~~
a.cc:6:3: error: expected primary-expression before 'int'
    6 |   int a;
      |   ^~~
a.cc:6:3: error: expected '}' before 'int'
a.cc:5:9: note: to match this '{'
    5 | int main{
      |         ^
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin >> a;
      |   ^~~
a.cc:9:3: error: 'cout' does not name a type
    9 |   cout << (24-a)+24 endl;
      |   ^~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
  int main(){
  int M 
    1<=M<=23
  cin >> M;
  cout << 24-M+24 << endl;
}
    


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: expected initializer before numeric constant
    5 |     1<=M<=23
      |     ^
a.cc:7:14: error: 'M' was not declared in this scope
    7 |   cout << 24-M+24 << endl;
      |              ^
Language: C++

#include <iostream>
using namespace std::
  int main(){
  int M 
    1<=M<=23
  cin >> M;
  cout << 24-M+24 << endl;
}
    

Compiler output:
a.cc:3:3: error: expected identifier before 'int'
    3 |   int main(){
      |   ^~~
a.cc:2:22: error: expected ';' before 'int'
    2 | using namespace std::
      |                      ^
      |                      ;
    3 |   int main(){
      |   ~~~                 
a.cc: In function 'int main()':
a.cc:5:5: error: expected initializer before numeric constant
    5 |     1<=M<=23
      |     ^
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout << 24-M+24 << endl;
      |   ^~~~
      |   std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:14: error: 'M' was not declared in this scope
    7 |   cout << 24-M+24 << endl;
      |              ^
a.cc:7:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   cout << 24-M+24 << 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 <bits/stdc++.h>
using namespace std;

main() {
  cin >> M;
  cout << 24 + M << endl;
}


Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:10: error: 'M' was not declared in this scope
    5 |   cin >> M;
      |          ^
Language: C++

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

main() {
  cin >> M;
  cout << 24 + M << endl;
}

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

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

int main() {
  
  int M
  
  cin >> M
  
  cout << 48 - M << endl;
  
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int M;
  int time = 48;
  cin >> M; //Mに入力
  cout << A - M << endl;
 }

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  cin << M;
  cout >> (24 - M) + 24;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'M' was not declared in this scope
    5 |   cin << M;
      |          ^
Language: C++

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

int main(){
	cin >> x;
  	cout << 24+(24-x) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'x' was not declared in this scope
    5 |         cin >> x;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  // ここにプログラムを追記
  int M
  cin >> M;
  cout << 24 + (24-M) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected initializer before 'cin'
    7 |   cin >> M;
      |   ^~~
a.cc:8:20: error: 'M' was not declared in this scope
    8 |   cout << 24 + (24-M) << endl;
      |                    ^
Language: C++

#include <bits,stdc++.h>
usingname space std;

int main(){
  int a,hour=24;
  cin >> a;
  cout << a-hour;
}

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

#include <bits/stdc++.h>

using namespace std;

int main(){
  int a;
  cin >> a
  cout << 24 -a

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before 'cout'
    7 |   cin >> a
      |           ^
      |           ;
    8 |   cout << 24 -a
      |   ~~~~     
a.cc:8:16: error: expected '}' at end of input
    8 |   cout << 24 -a
      |                ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

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

int main() {
  int M;
  cin >> M
  cout << 24 - M << endl;
}

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

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

int main() {
  int M
  cin >> M;
  cout << 24 - M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M;
      |   ^~~
a.cc:7:16: error: 'M' was not declared in this scope
    7 |   cout << 24 - M << endl;
      |                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M ;
      |   ^~~
a.cc:7:14: error: 'M' was not declared in this scope
    7 |   cout << 48-M << endl;
      |              ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M;
      |   ^~~
a.cc:7:14: error: 'M' was not declared in this scope
    7 |   cout << 48-M << endl;
      |              ^
Language: C++

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

int main() {
  int M;
  cin >> M
    cout << 48-M << endl;
}

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

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

int main() {
  int M;
  cin >> M;
  cout << 24-M << end1;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: 'end1' was not declared in this scope
    7 |   cout << 24-M << end1;
      |                   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	cin >> m;
	cout << 48 - m << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |         cin >> m;
      |                ^
      |                tm
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	cin >> m;
 	cout << 48 - m << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |         cin >> m;
      |                ^
      |                tm
Language: C

#include <stdio.h>

int main (void){
  int M;
  scanf("%d",&M);
  printf("%d",24-M+24);
  
  retun 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:8:3: error: 'retun' undeclared (first use in this function)
    8 |   retun 0;
      |   ^~~~~
main.c:8:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: expected ';' before numeric constant
    8 |   retun 0;
      |        ^~
      |        ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main{
  int a;
  cin >> a;
  cout << 48 - a << endl;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:3: error: expected primary-expression before 'int'
    4 |   int a;
      |   ^~~
a.cc:4:3: error: expected '}' before 'int'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> a;
      |   ^~~
a.cc:6:3: error: 'cout' does not name a type
    6 |   cout << 48 - a << endl;
      |   ^~~~
a.cc:7:1: error: expected declaration before '}' token
    7 | }
      | ^
Language: C++

#include <bits/stdx¥c++.h>
using namespace std;
int main{
  int a;
  cin >> a;
  cout << 48 - a << endl;
}

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

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

int main() {
  int　M;
  cin >> M;
  cout << 24 - M << endl;
}


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

#include <bits/stdc++.h>

int main(){
  int M = 0;
  cin >> M;
  cout << 2 * 24 - M << endl;
}

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

  cin >> M ;
  cout << 48 - M << endl;

Compiler output:
a.cc:4:3: error: 'cin' does not name a type
    4 |   cin >> M ;
      |   ^~~
a.cc:5:3: error: 'cout' does not name a type
    5 |   cout << 48 - M << endl;
      |   ^~~~
Language: C++

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

int main {
 	int M;
 	cin >> M;
 	cout << 48-M << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:9: error: expected primary-expression before 'int'
    5 |         int M;
      |         ^~~
a.cc:5:9: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin >> M;
      |         ^~~
a.cc:7:9: error: 'cout' does not name a type
    7 |         cout << 48-M << endl;
      |         ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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

int main {
 	int x;
 	cin >> x;
 	cout << 48-x << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:9: error: expected primary-expression before 'int'
    5 |         int x;
      |         ^~~
a.cc:5:9: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin >> x;
      |         ^~~
a.cc:7:9: error: 'cout' does not name a type
    7 |         cout << 48-x << endl;
      |         ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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

int main {
 	int x;
  cin >> x;
  cout << 48-x << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:9: error: expected primary-expression before 'int'
    5 |         int x;
      |         ^~~
a.cc:5:9: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> x;
      |   ^~~
a.cc:7:3: error: 'cout' does not name a type
    7 |   cout << 48-x << endl;
      |   ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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

int main {
 	int x;
  cin >> x;
  cout << 48-x << endl;
  
}

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

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

int main {
 	int x;
  	x <= 48;
  cin >> x;
  cout << x << endl;
  
}

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

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

int M;

cin >> M;

cout << 48 - M <<end;

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin >> M;
      | ^~~
a.cc:8:1: error: 'cout' does not name a type
    8 | cout << 48 - M <<end;
      | ^~~~
Language: C++

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

int M;

cin >> M;

  cout << 48 - M <<end;

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin >> M;
      | ^~~
a.cc:8:3: error: 'cout' does not name a type
    8 |   cout << 48 - M <<end;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int M, ans;
  cin >> M;
  ams = (24 - M ) + 12;
  cout << M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'ams' was not declared in this scope; did you mean 'ans'?
    7 |   ams = (24 - M ) + 12;
      |   ^~~
      |   ans
Language: C++

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

int main() {
  int M, a ;

  // 変数aで入力を受け取る
  cin >> M;
  a = 24;
  cout << (24-M)+a << “時間” << endl;
}


Compiler output:
a.cc:10:23: error: extended character “ is not valid in an identifier
   10 |   cout << (24-M)+a << “時間” << endl;
      |                       ^
a.cc:10:23: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:10:23: error: '\U0000201c\U00006642\U00009593\U0000201d' was not declared in this scope
   10 |   cout << (24-M)+a << “時間” << endl;
      |                       ^~~~~~
Language: C++

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

int main() {
  int M, a ;

  // 変数aで入力を受け取る
  cin >> M;
  a = 24;
  
  cout << (24-M)+a << “時間” << endl;
}


Compiler output:
a.cc:11:23: error: extended character “ is not valid in an identifier
   11 |   cout << (24-M)+a << “時間” << endl;
      |                       ^
a.cc:11:23: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:11:23: error: '\U0000201c\U00006642\U00009593\U0000201d' was not declared in this scope
   11 |   cout << (24-M)+a << “時間” << endl;
      |                       ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected ';' before 'cout'
    7 |   a = 48 - a
      |             ^
      |             ;
    8 |   cout << a << endl;
      |   ~~~~
Language: C

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

int main(void){
    int M;
    cin >> M;
    cout << 48-M << endl;
    return 0;
}


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

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

int main() {
  int M,x;
  cin >> M;
  int x = (24-M)+24;
  cout << x << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: redeclaration of 'int x'
    7 |   int x = (24-M)+24;
      |       ^
a.cc:5:9: note: 'int x' previously declared here
    5 |   int M,x;
      |         ^
Language: C++

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

int main(){
  int M;
  cin >> M;
  int N;
  N = 24 - M;
  cout << 24 + N << endl;
}

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

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

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

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

int main() {
  int M;
  cin >> M;
  cout << M << endl;
}

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

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

int main() {
  int M, x;
  cin >> M >> x;
  cout << "12月30日のM時から次の年になるまではx時間です。" << end1;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:63: error: 'end1' was not declared in this scope
    7 |   cout << "12月30日のM時から次の年になるまではx時間です。" << end1;
      |                                                               ^~~~
Language: C++

#include <iostream>
using namespace std;
 
int main() {
    int M;
    cin >> M;
    count << 24 - M << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'count' was not declared in this scope
    7 |     count << 24 - M << endl;
      |     ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double hours;
  
  cin >> hours;
  cout << 48 - hours
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before '}' token
    8 |   cout << 48 - hours
      |                     ^
      |                     ;
    9 | }
      | ~
Language: C++

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

int main(){
  cin >> int M;
  M = 24 - M;
  cout << M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected primary-expression before 'int'
    5 |   cin >> int M;
      |          ^~~
a.cc:6:3: error: 'M' was not declared in this scope
    6 |   M = 24 - M;
      |   ^
Language: C++

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

int main() {
int M
	cin >> M;
  cout << 48 - M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'cin'
    6 |         cin >> M;
      |         ^~~
a.cc:7:16: error: 'M' was not declared in this scope
    7 |   cout << 48 - M << endl;
      |                ^
Language: C++

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

int main() {
  int M;
  cin >> M;
  cout << (24 - M) + 24 << endl*
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected primary-expression before '}' token
    8 | }
      | ^
Language: C++

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

int main() {
  int M;
  cin >> M;
  cout << 24-M <<;
}

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> x;
      |   ^~~
a.cc:7:14: error: 'M' was not declared in this scope
    7 |   cout << 24-M+24 << endl;
      |              ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M;
      |   ^~~
a.cc:7:15: error: 'M' was not declared in this scope
    7 |   cout << (24-M)+24 << endl;
      |               ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int M
  cin>>M;
  cout << (24-M)+24 << endl;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin>>M;
      |   ^~~
a.cc:7:15: error: 'M' was not declared in this scope
    7 |   cout << (24-M)+24 << endl;
      |               ^
a.cc:7:29: error: expected '}' at end of input
    7 |   cout << (24-M)+24 << endl;
      |                             ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
	int = M;
    cin >> M;
    cout << 48 - M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected unqualified-id before '=' token
    5 |         int = M;
      |             ^
a.cc:6:12: error: 'M' was not declared in this scope
    6 |     cin >> M;
      |            ^
Language: C++

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

int main() {
	cin << m
    cout >> 48 - m >> endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |         cin << m
      |                ^
      |                tm
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:16: error: 'M' was not declared in this scope
    4 |         cin >> M;
      |                ^
Language: C++

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

int main() {
	cin >> m;
    cout
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |         cin >> m;
      |                ^
      |                tm
a.cc:6:9: error: expected ';' before '}' token
    6 |     cout
      |         ^
      |         ;
    7 | }
      | ~
Language: C++

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

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

Compiler output:
a.cc:2:1: error: 'useing' does not name a type
    2 | useing 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>>a>>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:6:11: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cin>>a>>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)
      |     ^~~~
a.cc:7:9: error: expected ';' before 'cout'
    7 |   b=48-a
      |         ^
      |         ;
    8 |   cout<<b<<endl;
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int mian{
  int M;
  cin >> M;
  cout << 48-M << endl;
}

Compiler output:
a.cc:4:3: error: expected primary-expression before 'int'
    4 |   int M;
      |   ^~~
a.cc:4:3: error: expected '}' before 'int'
a.cc:3:9: note: to match this '{'
    3 | int mian{
      |         ^
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> M;
      |   ^~~
a.cc:6:3: error: 'cout' does not name a type
    6 |   cout << 48-M << endl;
      |   ^~~~
a.cc:7:1: error: expected declaration before '}' token
    7 | }
      | ^
Language: C++

int main() {
  int M;
  cin >> M;
  cout << 48-M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> M;
      |   ^~~
a.cc:4:3: error: 'cout' was not declared in this scope
    4 |   cout << 48-M << endl;
      |   ^~~~
a.cc:4:19: error: 'endl' was not declared in this scope
    4 |   cout << 48-M << endl;
      |                   ^~~~
Language: C++

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

int main() {
  int M;
  cin >> M >> ;
  cout << 24-M << endl;
}


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

# include < cstdio >
int M ;
int main ()
{
scanf ("% d " ,& M );
printf ("% d \ n " ,48 - M );
}


Compiler output:
a.cc:1:11: fatal error:  cstdio : No such file or directory
    1 | # include < cstdio >
      |           ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
    int main(){
        int M;
            scanf("%d", &M);
                print("%d", 24 - M);
    return 0;
    }

Compiler output:
main.c: In function 'main':
main.c:5:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |                 print("%d", 24 - M);
      |                 ^~~~~
      |                 printf
Language: C++

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

int main() {
  int N;
  cin N;
  cout << (24 - N) + 24 << endl;
}

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

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

int main{
  
  int a;
  cin >> a;
  cout << 48 - a;

}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:6:3: error: expected primary-expression before 'int'
    6 |   int a;
      |   ^~~
a.cc:6:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin >> a;
      |   ^~~
a.cc:8:3: error: 'cout' does not name a type
    8 |   cout << 48 - a;
      |   ^~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M;
      |   ^~~
a.cc:7:18: error: 'M' was not declared in this scope
    7 |   cout << 24+(24-M) << endl;
      |                  ^
Language: C++

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

int main() {
  int M;
  cin >> M;
  int T;
  T = 48 - M
  cout << T << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected ';' before 'cout'
    8 |   T = 48 - M
      |             ^
      |             ;
    9 |   cout << T << endl;
      |   ~~~~
Language: C++

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

int main() {
  int M:
  cin >> M;
  int T;
  T = 48 - M
  cout << T << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: found ':' in nested-name-specifier, expected '::'
    5 |   int M:
      |        ^
      |        ::
a.cc:5:7: error: 'M' has not been declared
    5 |   int M:
      |       ^
a.cc:6:7: error: qualified-id in declaration before '>>' token
    6 |   cin >> M;
      |       ^~
a.cc:8:12: error: 'M' was not declared in this scope
    8 |   T = 48 - M
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a;
  cin >> a;
  cout << 24 - a << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: expected '}' at end of input
    7 |   cout << 24 - a << endl;
      |                          ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int M
  cin >>M;
  cout 
  <<
  24-M
  <<endl;
}

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

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

int main() {
  int M
  cin <<M;
  cout 
  <<
  24-M
  <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin <<M;
      |   ^~~
a.cc:9:6: error: 'M' was not declared in this scope
    9 |   24-M
      |      ^
Language: C++

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

int main() {
  int M
  cin >> M;
  cout << 48 -M << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M;
      |   ^~~
a.cc:7:15: error: 'M' was not declared in this scope
    7 |   cout << 48 -M << endl;
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before 'cout'
    7 |   x = 24 + (24-M)
      |                  ^
      |                  ;
    8 |   cout << x << endl;
      |   ~~~~
Language: C++

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

int main() {
  int now, next_year
  cin >> now >> next_year;
  next_year = 24 - now;
  cout << next_year << endl;
}


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

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

int main() {
  int now, next_year
  cin >> now >> next_year;
  next_ year = 24 - now;
  cout << next_year << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> now >> next_year;
      |   ^~~
a.cc:7:3: error: 'next_' was not declared in this scope; did you mean 'nextup'?
    7 |   next_ year = 24 - now;
      |   ^~~~~
      |   nextup
a.cc:8:11: error: 'next_year' was not declared in this scope
    8 |   cout << next_year << endl;
      |           ^~~~~~~~~
Language: C++

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

int main() {
  int now, next_year
  cin >> now >> next_year;
  cout << 24 - now << endl;
}


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

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

int main () {
  int M;
  cin >> M ;
  cout << 48-M <<endl;
}

Compiler output:
a.cc:2:17: error: 'syd' is not a namespace-name
    2 | using namespace syd;
      |                 ^~~
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 >> M ;
      |   ^~~
      |   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 << 48-M <<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:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   cout << 48-M <<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 m;
  cin >> m;
  cout << m + 24 << endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: expected ';' before '}' token
    7 |   cout << m + 24 << endl
      |                         ^
      |                         ;
    8 | }
      | ~
Language: C++

clude <bits/stdc++.h>
using namespace std;
 
int main() {
  int M;
  cin>>M;
  cout<<48-M<<endl;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>M;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<48-M<<endl;
      |   ^~~~
a.cc:7:15: error: 'endl' was not declared in this scope
    7 |   cout<<48-M<<endl;
      |               ^~~~
Language: C

import java.util.*;

public class  Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int M = Integer.parseInt(sc.next());
        M = 48 - M;
        System.out.println(M);
        sc.close();
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:3:1: error: unknown type name 'public'
    3 | public class  Main{
      | ^~~~~~
main.c:3:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class  Main{
      |               ^~~~
Language: C++

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

int main(){
  int M;
  cin >> M;
  cour << 48-M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cour' was not declared in this scope
    7 |   cour << 48-M << endl;
      |   ^~~~
Language: C++

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

int main() {
  cin << n
  cout << 24+24-n << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    5 |   cin << n
      |          ^
      |          yn
Language: C++

int main {
  int t;
  cin >> t;
  cout << (48 - t) <<endl;
}

Compiler output:
a.cc:1:5: error: cannot declare '::main' to be a global variable
    1 | int main {
      |     ^~~~
a.cc:2:3: error: expected primary-expression before 'int'
    2 |   int t;
      |   ^~~
a.cc:2:3: error: expected '}' before 'int'
a.cc:1:10: note: to match this '{'
    1 | int main {
      |          ^
a.cc:3:3: error: 'cin' does not name a type
    3 |   cin >> t;
      |   ^~~
a.cc:4:3: error: 'cout' does not name a type
    4 |   cout << (48 - t) <<endl;
      |   ^~~~
a.cc:5:1: error: expected declaration before '}' token
    5 | }
      | ^
Language: C++

cin >> t;
cout << (48 - t) <<endl;

Compiler output:
a.cc:1:1: error: 'cin' does not name a type
    1 | cin >> t;
      | ^~~
a.cc:2:1: error: 'cout' does not name a type
    2 | cout << (48 - t) <<endl;
      | ^~~~
Language: C++

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

int main () {
  int M;
  cin >> M;
  cout << (24-M)+ 24 << endl;
}
  

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

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

int main(){
  int M
    cin >> M;
  cout << 48 - M << undl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'cin'
    6 |     cin >> M;
      |     ^~~
a.cc:7:16: error: 'M' was not declared in this scope
    7 |   cout << 48 - M << undl;
      |                ^
a.cc:7:21: error: 'undl' was not declared in this scope
    7 |   cout << 48 - M << undl;
      |                     ^~~~
Language: C++

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

int main() {
  
  int M,x;
    
    1<M<23
      
      cin>>M
      x=M+24
      
      cout<<x;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: expected ';' before 'cin'
    8 |     1<M<23
      |           ^
      |           ;
    9 | 
   10 |       cin>>M
      |       ~~~
Language: C++

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

int main() {
  int M;
  sin >> M;
  cout << 48 - M << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>>'
    6 |   sin >> M;
      |   ~~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  cout << 48-N << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected '}' at end of input
    7 |   cout << 48-N << endl;
      |                        ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int a;
  1 <= a =< 23
  cin >> a;
  cout << 48 - ａ << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '<' token
    6 |   1 <= a =< 23
      |           ^
a.cc:8:16: error: '\U0000ff41' was not declared in this scope
    8 |   cout << 48 - ａ << endl;
      |                ^~
Language: C++

#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <cmath>
#include <queue>
#include <map>
#include <iomanip>
#include <random>
#include <fstream>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000000007
using namespace std;
using ll = long long;

const int MAX = 1000000;

ll fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
  fac[0] = fac[1] = 1;
  finv[0] = finv[1] = 1;
  inv[1] = 1;
  for (int i = 2; i < MAX; i++){
    fac[i] = fac[i - 1] * i % MOD;
    inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
    finv[i] = finv[i - 1] * inv[i] % MOD;
  }
}

// 二項係数計算
long long COM(int n, int k){
  if (n < k) return 0;
  if (n < 0 || k < 0) return 0;
  return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

ll gcd(ll a, ll b)
{
  ll r;
  while ((r = a % b))
  {
    a = b;
    b = r;
  }
  return b;
}

template <class T> struct cord{
  T x,y;
};

template <class T> double dist(cord<T> a, cord<T> b){
  T dx=a.x-b.x;
  T dy=a.y-b.y;
  return sqrt(dx*dx+dy*dy);
}

int main()
{

  //cout << fixed << setprecision(10);
  
  int m; cin >> m;
  cout << 24+24-x;

  return 0;
}


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

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

int main() {
  int M;
  1<= M <=23;
  cin >> M;
  int x;
  x = 48-M
  cout << x << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected ';' before 'cout'
    9 |   x = 48-M
      |           ^
      |           ;
   10 |   cout << x << endl;
      |   ~~~~
Language: C++

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

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

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

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

int main() {
  int M ;
  cin >> M ;
  count << 48 - M << endl;
  
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<'
    7 |   count << 48 - M << endl;
      |   ~~~~~~^~~~~~~~~
Language: C++

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

int main() {
  int M ;
  cin >> M  ;
  count << 48 - M << endl;
  
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<'
    7 |   count << 48 - M << endl;
      |   ~~~~~~^~~~~~~~~
Language: C++

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

int main() {
  int M ;
  cin >> M  ;
  count << 24 - M + 24 << endl;
  
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<'
    7 |   count << 24 - M + 24 << endl;
      |   ~~~~~~^~~~~~~~~~~~~~
Language: C++

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

int main() {
  int M ;
  cin >> M >> ;
  count << 24 - M + 24 << endl;
  
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before ';' token
    6 |   cin >> M >> ;
      |               ^
a.cc:7:9: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator<<'
    7 |   count << 24 - M + 24 << endl;
      |   ~~~~~~^~~~~~~~~~~~~~
Language: C++

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

int main() {
  int M 
  cin >> M >> endl;
  count << 24 - M + 24 << nedl;
  
  // ここにプログラムを追記
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> M >> endl;
      |   ^~~
a.cc:7:17: error: 'M' was not declared in this scope
    7 |   count << 24 - M + 24 << nedl;
      |                 ^
a.cc:7:27: error: 'nedl' was not declared in this scope
    7 |   count << 24 - M + 24 << nedl;
      |                           ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'intM' was not declared in this scope; did you mean 'int'?
    6 |   intM;
      |   ^~~~
      |   int
a.cc:8:10: error: 'M' was not declared in this scope
    8 |   cin >> M;
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected ';' before 'cin'
    6 |   x=24-M
      |         ^
      |         ;
    7 | 
    8 |   cin>> M;
      |   ~~~
Language: C++

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

int main() {
  int month;
  cin >> month;
  cout << 24+24-m << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'm' was not declared in this scope; did you mean 'tm'?
    7 |   cout << 24+24-m << endl;
      |                 ^
      |                 tm
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
 int main() {   
 int M
 cout << 24-M+24 << endl;
 }

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

#include <bits/stbs++.h>
using namespace std;
 
 int main() {   
 int M
 cout << 24-M+24 << endl;
 }

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