Language: Java

#include<iostream>
#include<stdio.h>
#include<vector>
#include<algorithm>
#include<set>
#include<string>
#include<map>
#include<string.h>
#include<complex>
#include<math.h>
#include<queue>
#include <functional>
#include<time.h>
using namespace std;
typedef long long int llint;
typedef pair<int, int> pint;
typedef pair<llint, llint> pllint;
typedef vector<int> vint;
typedef vector<llint> vllint;
typedef vector<pint> vpint;
typedef vector<string> vstring;
typedef vector<pair<llint, llint>> vpllint;
typedef vector<vector<int>> vvint;
typedef vector<vector<llint>> vvllint;
typedef vector<vector<pint>> vvpint;
typedef vector<bool> vbool;
#define all(a) a.begin(),a.end()
#define rep(i,n) for(int i=0;i<n;i++)
#define drep(i,n) for(int i=n-1;0<=i;i--)
#define yes(ans) if(ans)cout<<"yes"<<endl;else cout<<"no"<<endl;
#define Yes(ans) if(ans)cout<<"Yes"<<endl;else cout<<"No"<<endl;
#define YES(ans) if(ans)cout<<"YES"<<endl;else cout<<"NO"<<endl;
#define POSSIBLE(ans) if(ans)cout<<"POSSIBLE"<<endl;else cout<<"IMPOSSIBLE"<<endl;
#define Pi 3.1415926535897932384626
#define mod llint(1e9+7)
#define Inf 2147483647
#define llInf 9223372036854775807

int main() {
	unsigned long long int a, b, n;
	cin >> a >> b >> n;
	cout << (a * n / b) - (a * (n / b)) << endl;
	return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include<stdio.h>
^
Main.java:3: error: illegal character: '#'
#include<vector>
^
Main.java:4: error: illegal character: '#'
#include<algorithm>
^
Main.java:5: error: illegal character: '#'
#include<set>
^
Main.java:6: error: illegal character: '#'
#include<string>
^
Main.java:7: error: illegal character: '#'
#include<map>
^
Main.java:8: error: illegal character: '#'
#include<string.h>
^
Main.java:9: error: illegal character: '#'
#include<complex>
^
Main.java:10: error: illegal character: '#'
#include<math.h>
^
Main.java:11: error: illegal character: '#'
#include<queue>
^
Main.java:12: error: illegal character: '#'
#include <functional>
^
Main.java:13: error: illegal character: '#'
#include<time.h>
^
Main.java:15: error: class, interface, enum, or record expected
typedef long long int llint;
^
Main.java:16: error: class, interface, enum, or record expected
typedef pair<int, int> pint;
^
Main.java:17: error: class, interface, enum, or record expected
typedef pair<llint, llint> pllint;
^
Main.java:18: error: class, interface, enum, or record expected
typedef vector<int> vint;
^
Main.java:19: error: class, interface, enum, or record expected
typedef vector<llint> vllint;
^
Main.java:20: error: class, interface, enum, or record expected
typedef vector<pint> vpint;
^
Main.java:21: error: class, interface, enum, or record expected
typedef vector<string> vstring;
^
Main.java:22: error: class, interface, enum, or record expected
typedef vector<pair<llint, llint>> vpllint;
^
Main.java:23: error: class, interface, enum, or record expected
typedef vector<vector<int>> vvint;
^
Main.java:24: error: class, interface, enum, or record expected
typedef vector<vector<llint>> vvllint;
^
Main.java:25: error: class, interface, enum, or record expected
typedef vector<vector<pint>> vvpint;
^
Main.java:26: error: class, interface, enum, or record expected
typedef vector<bool> vbool;
^
Main.java:27: error: illegal character: '#'
#define all(a) a.begin(),a.end()
^
Main.java:27: error: class, interface, enum, or record expected
#define all(a) a.begin(),a.end()
        ^
Main.java:28: error: illegal character: '#'
#define rep(i,n) for(int i=0;i<n;i++)
^
Main.java:28: error: class, interface, enum, or record expected
#define rep(i,n) for(int i=0;i<n;i++)
                             ^
Main.java:28: error: class, interface, enum, or record expected
#define rep(i,n) for(int i=0;i<n;i++)
                                 ^
Main.java:29: error: illegal character: '#'
#define drep(i,n) for(int i=n-1;0<=i;i--)
^
Main.java:29: error: class, interface, enum, or record expected
#define drep(i,n) for(int i=n-1;0<=i;i--)
                                ^
Main.java:29: error: class, interface, enum, or record expected
#define drep(i,n) for(int i=n-1;0<=i;i--)
                                     ^
Main.java:30: error: illegal character: '#'
#define yes(ans) if(ans)cout<<"yes"<<endl;else cout<<"no"<<endl;
^
Main.java:30: error: class, interface, enum, or record expected
#define yes(ans) if(ans)cout<<"yes"<<endl;else cout<<"no"<<endl;
                                          ^
Main.java:31: error: illegal character: '#'
#define Yes(ans) if(ans)cout<<"Yes"<<endl;else cout<<"No"<<endl;
^
Main.java:31: error: class, interface, enum, or record expected
#define Yes(ans) if(ans)cout<<"Yes"<<endl;else cout<<"No"<<endl;
        ^
Main.java:31: error: class, interface, enum, or record expected
#define Yes(ans) if(ans)cout<<"Yes"<<endl;else cout<<"No"<<endl;
                                          ^
Main.java:32: error: illegal character: '#'
#define YES(ans) if(ans)cout<<"YES"<<endl;else cout<<"NO"<<endl;
^
Main.java:32: error: class, interface, enum, or record expected
#define YES(ans) if(ans)cout<<"YES"<<endl;else cout<<"NO"<<endl;
        ^
Main.java:32: error: class, interface, enum, or record expected
#define YES(ans) if(ans)cout<<"YES"<<endl;else cout<<"NO"<<endl;
                                          ^
Main.java:33: error: illegal character: '#'
#define POSSIBLE(ans) if(ans)cout<<"POSSIBLE"<<endl;else cout<<"IMPOSSIBLE"<<endl;
^
Main.java:33: error: class, interface, enum, or record expected
#define POSSIBLE(ans) if(ans)cout<<"POSSIBLE"<<endl;else cout<<"IMPOSSIBLE"<<endl;
        ^
Main.java:33: error: class, interface, enum, or record expected
#define POSSIBLE(ans) if(ans)cout<<"POSSIBLE"<<endl;else cout<<"IMPOSSIBLE"<<endl;
                                                    ^
Main.java:34: error: illegal character: '#'
#define Pi 3.1415926535897932384626
^
Main.java:34: error: class, interface, enum, or record expected
#define Pi 3.1415926535897932384626
        ^
Main.java:35: error: illegal character: '#'
#define mod llint(1e9+7)
^
Main.java:36: error: illegal character: '#'
#define Inf 2147483647
^
Main.java:37: error: illegal character: '#'
#define llInf 9223372036854775807
^
Main.java:41: error: class, interface, enum, or record expected
	cin >> a >> b >> n;
	^
Main.java:42: error: class, interface, enum, or record expected
	cout << (a * n / b) - (a * (n / b)) << endl;
	^
Main.java:43: error: class, interface, enum, or record expected
	return 0;
	^
Main.java:44: error: class, interface, enum, or record expected
}
^
53 errors