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

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

int main(){
 int a,b,t；
 cin >> a >> b >> t；
 cout << (t/a)*b <<endl；
}

Compiler output:
a.cc:2:17: error: 'std\U0000ff1b' is not a namespace-name
    2 | using namespace std；
      |                 ^~~~~
a.cc:2:22: error: expected ';' before 'int'
    2 | using namespace std；
      |                      ^
      |                      ;
    3 | 
    4 | int main(){
      | ~~~                   
a.cc: In function 'int main()':
a.cc:6:2: error: expected initializer before 'cin'
    6 |  cin >> a >> b >> t；
      |  ^~~
Language: C++

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

int main(){
  int A, B, T;
  cin >> A >> B >> T;
  cout << (T / A) * A;
  
  return 0;
}
  
  

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


#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;

int gcd(x, y) {
  if (y == 0) return x;
  return gcd(y, x%y); 
}
int main() {
  int n; cin >> n;
  vector<int> a(n);
  rep(i, n) cin >> a(n);
  vector<int> l(n), r(n);
  rep(i, n-1) l[i+1] = gcd(l[i], a[i]);
  for (int i = n-1;  i >= 1; i--) r[i-1] = gcd(r[i], a[i]);
  int ans = 1;
  rep(i, n) ans = max(ans, gcd(l[i], r[i]));
  cout << ans << endl;
}

Compiler output:
a.cc:7:9: error: 'x' was not declared in this scope
    7 | int gcd(x, y) {
      |         ^
a.cc:7:12: error: 'y' was not declared in this scope
    7 | int gcd(x, y) {
      |            ^
a.cc:7:13: error: expression list treated as compound expression in initializer [-fpermissive]
    7 | int gcd(x, y) {
      |             ^
a.cc: In function 'int main()':
a.cc:14:21: error: no match for call to '(std::vector<int>) (int&)'
   14 |   rep(i, n) cin >> a(n);
      |                    ~^~~
a.cc:16:27: error: 'gcd' cannot be used as a function
   16 |   rep(i, n-1) l[i+1] = gcd(l[i], a[i]);
      |                        ~~~^~~~~~~~~~~~
a.cc:17:47: error: 'gcd' cannot be used as a function
   17 |   for (int i = n-1;  i >= 1; i--) r[i-1] = gcd(r[i], a[i]);
      |                                            ~~~^~~~~~~~~~~~
a.cc:19:31: error: 'gcd' cannot be used as a function
   19 |   rep(i, n) ans = max(ans, gcd(l[i], r[i]));
      |                            ~~~^~~~~~~~~~~~
Language: C

#include<iostream>
using namespace std;

int main()
{
    int a,b,t;
    cin>>a>>b>>t;

    if(t > a){
        int res = t/a;
        res = res * b;
        cout<<res<<endl;
    }
    else{
        cout<<"0"<<endl;
    }
}


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

#include<iostream.h>

using namespace std;

int main(){
  int a,b,c,ans = 0;
  cin >> a >> b >> c;
  ans = a*(c/b);
  cout << ans;
  return 0;
}

Compiler output:
a.cc:1:9: fatal error: iostream.h: No such file or directory
    1 | #include<iostream.h>
      |         ^~~~~~~~~~~~
compilation terminated.
Language: Java

#include <iostream>
using namespace std;

int main(){
    int A, B, T;
    cin>>A>>B>>T;
    int t = A;
    int ans = 0;
    while(t < T+1){
        ans += B;
        t += A;
    }
    cout<<ans<<endl;
    return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:6: error: not a statement
    cin>>A>>B>>T;
             ^
Main.java:13: error: not a statement
    cout<<ans<<endl;
             ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: C++

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

int main(){
	int a,b;
  	int t;
  	cin a >> b >> t;
  
  	cout << ((t+0.5)/a) * b << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected ';' before 'a'
    7 |         cin a >> b >> t;
      |            ^~
      |            ;
Language: C++

#include <iostream>
using namespace std;

int main() {
  int N, s, max = 0, flg = 1, gcd;
  cin >> N;
  int A[N], gcd[N];
  //A[i]以外のN - 1個の要素の最大公約数をgcd[i]とする。そのうちの最大値が今回の回答である。
  
  for(int i = 0; i < N; i++) {
    cin >> A[i];
  }
  
  int a = A[0], b = A[1], r = A[0] % A[1];
  while(1) {
    a = b;
    b = r;
    r = a % b;
    if(r == 0) {gcd = b; break;}
  }
  
  for(int i = 0; i < N; i++) {
    if(min > A[i]) min = A[i];
  }
  
  for(int i = 0; i < N; i++) {
    s = A[i];
    A[i] = 0;
    for(int j = 1; j <= gcd; j++) {
      for(int k = 0; k < N; k++) {
        if(A[k] % j != 0) {flg = 0; break;}
      }
      if(flg) gcd[i] = j;
      flg = 1;
    }
    A[i] = s;
  }
  
  for(int i = 0; i < N; i++) {
    if(gcd[i] > max) max = gcd[i];
  }
  
  cout << max;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: conflicting declaration 'int gcd [N]'
    7 |   int A[N], gcd[N];
      |             ^~~
a.cc:5:31: note: previous declaration as 'int gcd'
    5 |   int N, s, max = 0, flg = 1, gcd;
      |                               ^~~
a.cc:23:12: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>'
   23 |     if(min > A[i]) min = A[i];
      |        ~~~~^~~~~~
a.cc:23:29: error: overloaded function with no contextual type information
   23 |     if(min > A[i]) min = A[i];
      |                             ^
a.cc:33:18: error: invalid types 'int[int]' for array subscript
   33 |       if(flg) gcd[i] = j;
      |                  ^
a.cc:40:11: error: invalid types 'int[int]' for array subscript
   40 |     if(gcd[i] > max) max = gcd[i];
      |           ^
a.cc:40:31: error: invalid types 'int[int]' for array subscript
   40 |     if(gcd[i] > max) max = gcd[i];
      |                               ^
Language: C++

#include <bits/stdc++.h>

using namespace std;
#define inputInt(a) int a; cin >> a; 
#define inputInt2(a,b) int a; int b; cin >> a >> b; 
#define inputInt3(a,b,c) int a; int b; int c; cin >> a >> b >> c;
#define inputLong(a) long a;cin >> a;
#define inputIntArray(a,N) int a[N];for(int i=0;i<N;i++){cin >> a[i];}
#define inputLongArray(a,N) long a[N];for(int i=0;i<N;i++){cin >> a[i];}
#define inputDoubleArray(a,N) double a[N];for(int i=0;i<N;i++){cin >> a[i];}
#define inputIntArray2(a,b,N) int a[N]; int b[N]; for(int i=0;i<N;i++){cin >> a[i] >> b[i];}
#define output(answer) cout << answer << endl;
#define fN(i,N)    for(int i=0; i<N; i++)
#define fSE(i,s,e) for(int i=s; i<=e; i++)
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }

int main(){
  //input
  inputLong(N);
  
  vector<long long int> a(N,0), b(N,0);
  long long int sum = 0;
  for(int i=0, i<N; i++){
    cin >> a[i];
    b[i] = abs(a[i]);
    sum += b[i];
  }
  
  sort(a.begin(),a.end());
  sort(b.begin(),b.end());//最も絶対値が小さいa[i]を走査。
  
  long long int minus = lower_bound(a.begin(),a.end(),0)-a.begin();
  long long int ans = 0;
  
  if(minus % 2 == 0 || b[0] == 0){//全て正の整数になる時
    //ans = accumulate(b.begin(),b.end(),0);
    ans = sum;
  }else{
    //ans = accumulate(b.begin(),b.end(),0) - b[0]*2;
    ans = sum - b[0];
  }
  
  //output
  output(ans);
  
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:24:17: error: expected ';' before '<' token
   24 |   for(int i=0, i<N; i++){
      |                 ^
      |                 ;
a.cc:24:17: error: expected primary-expression before '<' token
Language: C++

#include<bits/stdc++.h>
usingnamespacestd;
intmain() {
int
A, B, T; 
cin >> A >> B >> T;
int generated_times = T / A;
int ans = generated_times * B;
cout << ans << endl;


Compiler output:
a.cc:2:1: error: 'usingnamespacestd' does not name a type
    2 | usingnamespacestd;
      | ^~~~~~~~~~~~~~~~~
a.cc:3:1: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
    3 | intmain() {
      | ^~~~~~~
a.cc: In function 'int intmain()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin >> A >> B >> T;
      | ^~~
      | 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:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | cout << ans << 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:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | cout << ans << 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:9:21: error: expected '}' at end of input
    9 | cout << ans << endl;
      |                     ^
a.cc:3:11: note: to match this '{'
    3 | intmain() {
      |           ^
a.cc:9:21: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | cout << ans << endl;
      |                     ^
Language: C++

#
include
<bits/stdc++.h>
using
namespace
std;
int
main() {
int
A, B, T; cin >> A >> B >> T;
int
generated_times = T / A;
int
ans = generated_times * B;
cout << ans << endl;
return 0;


Compiler output:
a.cc:2:1: error: 'include' does not name a type
    2 | include
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:10:10: error: 'cin' was not declared in this scope
   10 | A, B, T; cin >> A >> B >> T;
      |          ^~~
a.cc:15:1: error: 'cout' was not declared in this scope
   15 | cout << ans << endl;
      | ^~~~
a.cc:15:16: error: 'endl' was not declared in this scope
   15 | cout << ans << endl;
      |                ^~~~
a.cc:16:10: error: expected '}' at end of input
   16 | return 0;
      |          ^
a.cc:8:8: note: to match this '{'
    8 | main() {
      |        ^
Language: C++

#include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define ifaxb(a, x, b) if (a < x && x < b)  // 比較は昇順
#define vi vector<int>
#define vii vector<vi>
#define vs vector<string>
#define vss vector<vs>
#define all(x) x.begin(), x.end()
#define pi 3.1415926536
#define ff first
#define ss second
#define pq priority_queue
#define ipair pair<int, int>
#define spair pair<string, string>
#define lpair pair<LL, LL>
#define MP make_pair
#define INF 2147483647
#define _INF -2147483647
#define MM multimap
#define PB push_back
#define MAXN 100004
using namespace std;
typedef long long ll;

int main() {
    int A, B, T;
    cin >> A >> B >> T;
    int ans = B;
    for (int i = A; i < T - 0.5; i = i * A) {
        ans = ans * 2;
    }
    cout << ans << endl;
}
#include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define ifaxb(a, x, b) if (a < x && x < b)  // 比較は昇順
#define vi vector<int>
#define vii vector<vi>
#define vs vector<string>
#define vss vector<vs>
#define all(x) x.begin(), x.end()
#define pi 3.1415926536
#define ff first
#define ss second
#define pq priority_queue
#define ipair pair<int, int>
#define spair pair<string, string>
#define lpair pair<LL, LL>
#define MP make_pair
#define INF 2147483647
#define _INF -2147483647
#define MM multimap
#define PB push_back
#define MAXN 100004
using namespace std;
typedef long long ll;

int main() {
    int A, B, T;
    cin >> A >> B >> T;
    int ans = B;
    for (int i = A; i < T - 0.5; i = i * A) {
        ans = ans * 2;
    }
    cout << ans << endl;
}
#include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define ifaxb(a, x, b) if (a < x && x < b)  // 比較は昇順
#define vi vector<int>
#define vii vector<vi>
#define vs vector<string>
#define vss vector<vs>
#define all(x) x.begin(), x.end()
#define pi 3.1415926536
#define ff first
#define ss second
#define pq priority_queue
#define ipair pair<int, int>
#define spair pair<string, string>
#define lpair pair<LL, LL>
#define MP make_pair
#define INF 2147483647
#define _INF -2147483647
#define MM multimap
#define PB push_back
#define MAXN 100004
using namespace std;
typedef long long ll;

int main() {
    int A, B, T;
    cin >> A >> B >> T;
    int ans = B;
    for (int i = A; i < T - 0.5; i = i * A) {
        ans = ans * 2;
    }
    cout << ans << endl;
}


Compiler output:
a.cc:58:5: error: redefinition of 'int main()'
   58 | int main() {
      |     ^~~~
a.cc:25:5: note: 'int main()' previously defined here
   25 | int main() {
      |     ^~~~
a.cc:91:5: error: redefinition of 'int main()'
   91 | int main() {
      |     ^~~~
a.cc:25:5: note: 'int main()' previously defined here
   25 | int main() {
      |     ^~~~
Language: C

#include<stdio.h>
int main(){
  int a,b,t;
  scanf("%d %d %d",&a,&b,&t);
  int ans=0;
  for{int i=a;i>t+0.5;i+a}(
    ans+=b;
    )
  printf("%d\n",ans);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:6: error: expected '(' before '{' token
    6 |   for{int i=a;i>t+0.5;i+a}(
      |      ^
      |      (
main.c:6:15: error: 'i' undeclared (first use in this function)
    6 |   for{int i=a;i>t+0.5;i+a}(
      |               ^
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:26: error: expected ';' before '}' token
    6 |   for{int i=a;i>t+0.5;i+a}(
      |                          ^
      |                          ;
main.c:7:11: error: expected ')' before ';' token
    7 |     ans+=b;
      |           ^
      |           )
main.c:6:27: note: to match this '('
    6 |   for{int i=a;i>t+0.5;i+a}(
      |                           ^
main.c:8:6: error: expected ';' before 'printf'
    8 |     )
      |      ^
      |      ;
    9 |   printf("%d\n",ans);
      |   ~~~~~~
Language: C

#include<stdio.h>
int main(){
  int a,b,t;
  scanf("%d %d %d",&a,&b,&t);
  int ans=0;
  for{int i=a;i>t+0.5;i*2}(
    ans+=b;
    )
  printf("%d\n",ans);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:6: error: expected '(' before '{' token
    6 |   for{int i=a;i>t+0.5;i*2}(
      |      ^
      |      (
main.c:6:15: error: 'i' undeclared (first use in this function)
    6 |   for{int i=a;i>t+0.5;i*2}(
      |               ^
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:26: error: expected ';' before '}' token
    6 |   for{int i=a;i>t+0.5;i*2}(
      |                          ^
      |                          ;
main.c:7:11: error: expected ')' before ';' token
    7 |     ans+=b;
      |           ^
      |           )
main.c:6:27: note: to match this '('
    6 |   for{int i=a;i>t+0.5;i*2}(
      |                           ^
main.c:8:6: error: expected ';' before 'printf'
    8 |     )
      |      ^
      |      ;
    9 |   printf("%d\n",ans);
      |   ~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
 
int main() {
 
	int a,b,t;
	cin >> a >> b >> t;

	

	for (int i = 1; i < n; ++i)
	{
		if (i*a < t + 0.5 < (i+1)*a)
		{
			cout << b*i <<endl;
		}
	}
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:29: error: 'n' was not declared in this scope
   13 |         for (int i = 1; i < n; ++i)
      |                             ^
Language: C++

include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); ++i)
typedef long long ll;
using namespace std;
 
int main(){
  int a,b,t;
  cin >> a >> b >>t;

  int ans = 0;
  int d = t/a;
  
  ans = b*d;
  
  cout << ans << endl;
 
  return 0;
  
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> a >> b >>t;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | include <bits/stdc++.h>
a.cc:15:3: error: 'cout' was not declared in this scope
   15 |   cout << ans << endl;
      |   ^~~~
a.cc:15:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:18: error: 'endl' was not declared in this scope
   15 |   cout << ans << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | include <bits/stdc++.h>
Language: C

#include <stdio.h>
int main() {
  int A,B,T,tmp;
  scanf("%d" "%d" "%d",&A,&B,&T );
  tmp = T/A
  printf("%d\n",tmp*B);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected ';' before 'printf'
    5 |   tmp = T/A
      |            ^
      |            ;
    6 |   printf("%d\n",tmp*B);
      |   ~~~~~~
Language: C++

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

int main(){
  int a,b,t;
  cin >> a >> b >> t;
  int count = 0;
  for(i=1;i<=20;i++){
    count += b;
    if(a*i > t){
      break;
    }
  }
  
  cout << count << endl;
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'i' was not declared in this scope
    8 |   for(i=1;i<=20;i++){
      |       ^
Language: C++

#include <iostream>

int main()
{
    int A, B, T;
    std::cin >> A >> B >> T;
    float t = (float)T + 0.5f;
    int a = (int((float)A / t);

    int ans = a * B;

    std::cout << ans << std::endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: expected ')' before ';' token
    8 |     int a = (int((float)A / t);
      |             ~                 ^
      |                               )
Language: C++

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

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

#include<algorithm>
#include<cmath>//切り上げceil()
#include<deque>
#include<iomanip>//setprecision()
#include<iostream>
#include<list>
#include<map>
#include<numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd
#include<queue>
#include<set>
#include<stack>
#include<string>
#include<vector>

#include<bits/stdc++.h>
#include<cstdio>
#include<cstdlib>
#include<tuple>
#include<utility>
#define rep(i,n) for(ll i=0; i<n; i++)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define mod 1000000007
using ll = long long;
using namespace std;

int main(){
  int a,b,t;  cin >> a >> b >> t;
  for(int i = 1; i*a < t+0.5; i++){
    int ans += b;
  }
  cout << ans;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:35:13: error: expected initializer before '+=' token
   35 |     int ans += b;
      |             ^~
a.cc:37:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   37 |   cout << ans;
      |           ^~~
      |           abs
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a, b, t;
  cin >> a >> b >> t;
  cout t/a*b;
}

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

//templates
#include <iostream>
#include <algorithm>
#include <string>
#include <numeric>
#include <vector>
#include <unordered_map>
#include <map>
#include <cmath>
#define rep(i,n) for(int i = 0; i < (n); i++)
#define ALL(x) (x).begin(),(x).end()
#define pb push_back
#define SZ(x) ((int)(x).size())
typedef long long ll;
using namespace std;

//main
int main(){
  int A,B,T;
  cin A >> B >> T;
  if(T%A ==0) cout << B*(T/A) << endl;
  else cout << B*(T/A+1) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:6: error: expected ';' before 'A'
   20 |   cin A >> B >> T;
      |      ^~
      |      ;
Language: C

#include<stdio.h>
int main (void){
int a,sum=0;
  scanf("%d",&a);
int b[100],c[100];
  for (int i=0;i<a;i++){
    scanf("%d",&b[i]);
  }
  for (int i=0;i<a;i++){
    scanf("%d",&c[i]);
  }
  for (int i=0;i<a;i++){
    if(b[i]>c[i]){
      sum=sum+(b[i]-c[i]);
  }
    printf("%d",sum);
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C++

#include <iostream>

int main(int argc, char *argv[]){
    int A, B, T;
    std::cin >> A >> B >> T;
    std::cout << (T/A)*B << std::endl;
    return 0;
}
#include <iostream>

int main(int argc, char *argv[]){
    int A, B, T;
    std::cin >> A >> B >> T;
    std::cout << (T/A)*B << std::endl;
    return 0;
}


Compiler output:
a.cc:11:5: error: redefinition of 'int main(int, char**)'
   11 | int main(int argc, char *argv[]){
      |     ^~~~
a.cc:3:5: note: 'int main(int, char**)' previously defined here
    3 | int main(int argc, char *argv[]){
      |     ^~~~
Language: C++

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

int main() {
  int a,b,t;
  cin>>a>>b>>t;
  
  int cnt = 0;
  rep(i, a/t) cnt+=b;
  cout<<cnt<<endl; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   rep(i, a/t) cnt+=b;
      |       ^
a.cc:9:3: error: 'rep' was not declared in this scope
    9 |   rep(i, a/t) cnt+=b;
      |   ^~~
Language: C++

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

int main() {
  int a,b,t;
  cin>>a>>b>>t;
  
  int cnt = 0;
  rep(i, a/c) cnt+=b;
  cout<<cnt<<endl; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   rep(i, a/c) cnt+=b;
      |       ^
a.cc:9:12: error: 'c' was not declared in this scope
    9 |   rep(i, a/c) cnt+=b;
      |            ^
a.cc:9:3: error: 'rep' was not declared in this scope
    9 |   rep(i, a/c) cnt+=b;
      |   ^~~
Language: C++

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

int main() {
	int A, B, T;
	cin >> A >> B >> T;
	X = T / A;
	cout << (B * X ) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'X' was not declared in this scope
    7 |         X = T / A;
      |         ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a, b;
  double t;
  cin >> a > b >> t;
  t += 0.5;
  cout << t/a*b << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: invalid operands of types 'int' and 'double' to binary 'operator>>'
    7 |   cin >> a > b >> t;
      |              ~ ^~ ~
      |              |    |
      |              int  double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'C' was not declared in this scope
    7 |   C = T/A;
      |   ^
Language: Java

import java.util.*;

class Main{
	
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int N = sc.nextInt();

	int ans =0;

	for(int i =0; i<N ;i++){	

	int V [] = new int[N];

	V[i] = 	sc.nextInt();			

   }

	for(int i =0; i<N ;i++){

	int C [] = new int[N];

	C[i] = sc.nextInt[N];

   }

	for(int i =0; i<N ;i++){

	if(V[i]<C[i]){

	ans += (V[i]-C[i]);	

    }
   }	

	System.out.println(ans);
  }
 }

Compiler output:
Main.java:25: error: cannot find symbol
	C[i] = sc.nextInt[N];
	         ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:31: error: cannot find symbol
	if(V[i]<C[i]){
	   ^
  symbol:   variable V
  location: class Main
Main.java:31: error: cannot find symbol
	if(V[i]<C[i]){
	        ^
  symbol:   variable C
  location: class Main
Main.java:33: error: cannot find symbol
	ans += (V[i]-C[i]);	
	        ^
  symbol:   variable V
  location: class Main
Main.java:33: error: cannot find symbol
	ans += (V[i]-C[i]);	
	             ^
  symbol:   variable C
  location: class Main
5 errors
Language: Java

import java.util.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	String[] spi = new String[n];
      	int list = 0;
      	for(int i = 0; i < n; i ++){
        	String value = sc.next();
          	String cost = sc.next();
          	spi[i] = value + "_" + cost;
          	list += value - cost;
        }
      	Arrays.sort(spi);
      	for(String s : spi){
          	int value = Integer.parseInt(s.split("_")[0]);
          	int cost = Integer.parseInt(s.split("_")[1]);
        	list = Math.max(list, list - value + cost);
        }
      	System.out.print(list);
      	
    }
}

Compiler output:
Main.java:13: error: bad operand types for binary operator '-'
          	list += value - cost;
          	              ^
  first type:  String
  second type: String
1 error
Language: Java

import java.util.*;

public class Main{
	public  static void main(String[] args){
    	Scanner Scan = new Scanner(System.in);
      	int A = Scan.nextInt();
      	int B = Scan.nextInt();
      	int T = Scan.nextInt();
      	int preans = (T + 0.5) / A;
      	int ans = B * preans;
      	System.out.print(ans);
      	Scan.close();
    }
}

Compiler output:
Main.java:9: error: incompatible types: possible lossy conversion from double to int
      	int preans = (T + 0.5) / A;
      	                       ^
1 error
Language: C++

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

// definition {{{ 1

// scaning {{{ 2
#define Scd(x) scanf("%d", &x)
#define Scd2(x,y) scanf("%d%d", &x, &y)
#define Scd3(x,y,z) scanf("%d%d%d", &x, &y, &z)

#define Scll(x) scanf("%llu", &x)
#define Scll2(x,y) scanf("%llu%llu", &x, &y)
#define Scll3(x,y,z) scanf("%llu%llu%llu", &x, &y, &z)

#define Scc(c) scanf("%c", &c);
#define Scs(s) scanf("%s", s);
#define Scstr(s) scanf("%s", &s);
// }}} 2

// constants {{{ 2
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
// }}} 2

// systems {{{ 2
#define Rep(x,y) for(int x = 0; x < y; x++)
#define Repe(x,y,z) for(int x = z; x < y; x++)
// }}} 2

// output {{{ 2
#define YesNo(a) (a)?printf("Yes\n"):printf("No\n");
// }}} 2

// }}} 1

int gcd( int a, int b ){


    if( a < b ) swap(a,b);
    if( b==0 ) return a;

    int r;

    r = a % b;
    while( r ){
        a = b;
        b = r;
        r = a%b;
    }

    return b;

}

int main() {

    int a,b,c;
    Scd3(a,b,c)

    printf ("%d\n", c/a*b );




    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:62:5: error: expected ';' before 'printf'
   62 |     printf ("%d\n", c/a*b );
      |     ^~~~~~
Language: C++

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

int main() {
  int a,b,t;
  cin>>a>>b>>t;
  cout<<t/a*B
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'B' was not declared in this scope
    7 |   cout<<t/a*B
      |             ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected ';' before '}' token
   11 |     a = a + a
      |              ^
      |              ;
   12 |   }
      |   ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected unqualified-id before 'int'
    6 |   int t = 0;
      |   ^~~
a.cc:10:5: error: 't' was not declared in this scope
   10 |     t = t +b;
      |     ^
a.cc:12:11: error: 't' was not declared in this scope
   12 |   cout << t << endl;
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected unqualified-id before 'int'
    6 |   int t = 0;
      |   ^~~
a.cc:10:5: error: 't' was not declared in this scope
   10 |     t = t +b;
      |     ^
a.cc:12:11: error: 't' was not declared in this scope
   12 |   cout << t << endl;
      |           ^
a.cc:12:21: error: expected '}' at end of input
   12 |   cout << t << 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,b,t;
  cin >>a>>b>>t;
  int n = (t+0.5)/a
    cout << n*b <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected ',' or ';' before 'cout'
    8 |     cout << n*b <<endl;
      |     ^~~~
Language: C++

#include<iostream>
#include<vector>
#include<string>
#include<map>

using namespace std;

map<char,int> a;
int main(){
  int a,b,c;
  cin >> a >> b >> c;
  cout << c/a*b
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: expected ';' before '}' token
   12 |   cout << c/a*b
      |                ^
      |                ;
   13 | }
      | ~
Language: C++

#include<iostream>
#include<vector>
#include<string>
#include<map>

using namespace std;

map<char,int> a;
int main(){
  int a,b,c;
  cin >> a >> b >> c;
  cout << c%a*b
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: expected ';' before '}' token
   12 |   cout << c%a*b
      |                ^
      |                ;
   13 | }
      | ~
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt(),B=sc.nextInt(),T=sc.nextInt();
		System.out.println(T/A*B);
	}
}


Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

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

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

#include<iostream>
#include<cstdio>
#include<cmath>
#include<string>
#include<vector>
#include<list>
#include<algorithm>
#include<set>
#include<map>
#include<stack>
#include<queue>

using namespace std;

#define FOR(i, a, n) for(int i = (int)(a); i < (int)(n); ++i)
#define REP(i, n) FOR(i, 0, n)

#define PRINT(str) printf(#str "\n")
#define yOUT PRINT(Yes)
#define nOUT PRINT(No)
#define YOUT PRINT(YES)
#define NOUT PRINT(NO)
 
#define pb(a) push_back(a)
#define all(x) (x).begin(),(x).end()

int main(){
    int a, b, t;
    cin >> a >> b >> c;
    cout << b * (c/a) << endl;
}


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

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

int main() {
  int A, B, T;
  cin A >> B >> T;
  cout << (T + 0.5) / A * B << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A >> B >> T;
      |      ^~
      |      ;
Language: Java

import java.util.*;
public class Main{
	public static void main(String[] args){
	  Scanner sc = new Scanner(System.in);
      int a = sc.next();
      int b = sc.next();
      int t = sc.next();
      int sum = ((t+0.5)/a)*b;
      System.out.println(sum);
        sc.close();
    }
}


Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
      int a = sc.next();
                     ^
Main.java:6: error: incompatible types: String cannot be converted to int
      int b = sc.next();
                     ^
Main.java:7: error: incompatible types: String cannot be converted to int
      int t = sc.next();
                     ^
Main.java:8: error: incompatible types: possible lossy conversion from double to int
      int sum = ((t+0.5)/a)*b;
                           ^
4 errors
Language: Java

import java.util.*;
public class Main{
	public static void main(String[] args){
	  Scanner sc = new Scanner(System.in);
      int a = sc.next();
      int b = sc.next();
      int t = sc.next();
      int sum = ((t+0.5)/a)*b;
      System.out.println(sum)
        sc.close();
    }
}

Compiler output:
Main.java:9: error: ';' expected
      System.out.println(sum)
                             ^
1 error
Language: C++

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

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

import java.util.*;

public class A {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int t = sc.nextInt();

        int result = t / a;
        result = result * b;

        System.out.println(result);
	}
}


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

#include <iostream>

using namespace std;

void main(){
  double A, B, T;
  cin >> A >> B >> T;
  
  int num = B * (T + 0.5) / A;
  cout << num << endl;
  return 0;
}

Compiler output:
a.cc:5:1: error: '::main' must return 'int'
    5 | void main(){
      | ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <cstdio>
#include <queue>
#include <algorithm>
#include <functional>
#include <string>
#include <queue>
#include <cmath>
#include <iomanip>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <random>
#include <unordered_map>
#include <unordered_set>
#define ll long long
#define fr(i,k,N) for(ll i=k; i<N;i++)
#define rep(i,N) for(ll i=0; i<N;i++)
#define ALL(v) v.begin(),v.end()
#define mp make_pair
using namespace std;
template <class X> void pr(X test){cout<<test<<endl;}
template <class X> void prr(X test){for(auto it:test){cout<<it<<endl;}}
template <class X> void prrr(X test){int f=0;for(auto it:test){cout<<(f++!=0?" ":"")<<it;}cout<<endl;}
template<typename X>
istream&operator>>(istream&i,vector<X>&v){for(X&x:v)i>>x;return i;}

class UF { // union find from https://github.com/kartikkukreja/blog-codes (MIT)
    // [usage]
    // auto uf = new UF(n);
    // uf->merge(l, r); // 0 <= l, r <= n-1
    // ...
public:
    int *id; // inner id
    int cnt; // number of all vartices
    int *sz; // sz[i] means size of i's set
    UF(int N)   {
        cnt = N;
        id = new int[N];
        sz = new int[N];
        for(int i=0; i<N; i++) {
            id[i] = i;
            sz[i] = 1;
        }
    }
    ~UF() {
        delete [] id;
        delete [] sz;
    }
    int find(int p) {
        int root = p;
        while (root != id[root]) root = id[root];
        while (p != root) {
            int newp = id[p];
            id[p] = root;
            p = newp;
        }
        return root;
    }
    void merge(int x, int y) {
        int i = find(x);
        int j = find(y);
        if (i == j) return;
        
        if (sz[i] < sz[j]) {
            id[i] = j;
            sz[j] += sz[i];
        } else {
            id[j] = i;
            sz[i] += sz[j];
        }
        cnt--;
    }
    bool connected(int x, int y) {
        return find(x) == find(y);
    }
    int count() {
        return cnt;
    }
};

// return sorted 約数list 1 <= x <= n
vector<ll> divv(ll n) {
  vector<ll> v;
  for(ll i = 1; i*i <= n; i++) {
    if(n%i == 0) {
      v.push_back(i);
      if(i*i != n) v.push_back(n/i);
    }
  }
  sort(ALL(v));
  return v;
}

int main() {
    ll n,b,t;
    cin>>n>>b>>t;
    pr(b * (t%a));

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:100:15: error: 'a' was not declared in this scope
  100 |     pr(b * (t%a));
      |               ^
Language: C++

using namespace std;

void main()
{
  int a, b, t;
  cin >> a >> b >> t;
  cout << (t / a) * b << endl;
  return 0;
}


Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b >> t;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << (t / a) * b << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:26: error: 'endl' was not declared in this scope
    7 |   cout << (t / a) * b << endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C++

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

int main(){
  double a,b,c;  cin >> a >> b >>c;
  int count;
  count = ((c+0.5)/a)*b
  cout << count << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected ';' before 'cout'
    7 |   count = ((c+0.5)/a)*b
      |                        ^
      |                        ;
    8 |   cout << count << endl;
      |   ~~~~
Language: C++

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

int main(){
  double a,c;
  int b,count;
  cin >> a >> b >>c;
  cout << (b+0.5)/a*c << endl;
}


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

#include <algorithm>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <string.h>
#include <vector>

using namespace std;
int main() {
    int A, B, T;
    float T, a = 0.5;
    cin >> A >> B >> T;
    cout << (T / A) * B << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: conflicting declaration 'float T'
   12 |     float T, a = 0.5;
      |           ^
a.cc:11:15: note: previous declaration as 'int T'
   11 |     int A, B, T;
      |               ^
Language: Java

import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc=new Scanner(System.in);
int A=sc.nextInt();
int B=sc.nextInt();
int T=sc.NextInt();
int result;
result=T/A*B;
System.out.println(result);
}
}

Compiler output:
Main.java:7: error: cannot find symbol
int T=sc.NextInt();
        ^
  symbol:   method NextInt()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int cycle, number_of_biscuits, time;
    cycle = Integer.parseInt(sc.next());
    number_of_biscuits = Integer.parseInt(sc.next());
    time = Integer.parseInt(sc.next());
    System.out,println(time / cycle * number_of_biscuits);
  }
}


Compiler output:
Main.java:10: error: not a statement
    System.out,println(time / cycle * number_of_biscuits);
          ^
Main.java:10: error: ';' expected
    System.out,println(time / cycle * number_of_biscuits);
              ^
2 errors
Language: C++

#include <iostream>

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  cout<<c/a*b;
}

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>>a>>b>>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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout<<c/a*b;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner sc= new Scanner(System.in);
    int A=sc.nextInt(); 
    int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数
    int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める
    double x=(double(T)+0.5)/double(A);
    System.out.println(Math.floor(x)*B);
      
    }
}

Compiler output:
Main.java:8: error: '.class' expected
    double x=(double(T)+0.5)/double(A);
                    ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                     ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                      ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                             ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                                   ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                                    ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                                     ^
7 errors
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner sc= new Scanner(System.in);
    int A=sc.nextInt(); 
    int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数
    int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める
    double x=(T+0.5)/A;
    System.out.println(int(x)*B);
      
    }
}

Compiler output:
Main.java:9: error: '.class' expected
    System.out.println(int(x)*B);
                          ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                           ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                            ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                              ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                               ^
5 errors
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner sc= new Scanner(System.in);
    int A=sc.nextInt(); 
    int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数
    int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める
    double x=(double(T)+0.5)/double(A);
    System.out.println(int(x)*B);
      
    }
}

Compiler output:
Main.java:8: error: '.class' expected
    double x=(double(T)+0.5)/double(A);
                    ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                     ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                      ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                             ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                                   ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/double(A);
                                    ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/double(A);
                                     ^
Main.java:9: error: '.class' expected
    System.out.println(int(x)*B);
                          ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                           ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                            ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                              ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                               ^
12 errors
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner sc= new Scanner(System.in);
    int A=sc.nextInt(); 
    int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数
    int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める
    double x=(double(T)+0.5)/A;
    System.out.println(int(x)*B);
      
    }
}

Compiler output:
Main.java:8: error: '.class' expected
    double x=(double(T)+0.5)/A;
                    ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/A;
                     ^
Main.java:8: error: ';' expected
    double x=(double(T)+0.5)/A;
                      ^
Main.java:8: error: not a statement
    double x=(double(T)+0.5)/A;
                             ^
Main.java:9: error: '.class' expected
    System.out.println(int(x)*B);
                          ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                           ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                            ^
Main.java:9: error: not a statement
    System.out.println(int(x)*B);
                              ^
Main.java:9: error: ';' expected
    System.out.println(int(x)*B);
                               ^
9 errors
Language: Java

import java.util.Scanner;
public class Main{
	public static void main(String[] args){
    Scanner sc= new Scanner(System.in);
      int A=sc.nextInt(); 
      int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数
      int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める
      int x=(T+0.5)/A;
      System.out.println(x*B);
      
    }
}

Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to int
      int x=(T+0.5)/A;
                   ^
1 error
Language: C

#include<stdio.h>


int main(void){
  int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  printf("%d",(c/a)*b);

Compiler output:
main.c: In function 'main':
main.c:7:3: error: expected declaration or statement at end of input
    7 |   printf("%d",(c/a)*b);
      |   ^~~~~~
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int T = sc.nextInt();

		int total = 0;
		int n = 1;
		while(A <= T) {

			A *= n;
			n++;
			total += B;
		}

		System.out.println(total);


	}

Compiler output:
Main.java:22: error: reached end of file while parsing
	}
	 ^
1 error