submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s909605822
p03795
C++
#include <bits/stdc++.h> using namespace std; int main(){ int N, a; cin >> N; a = N / 15 cout << 800 * N - a * 200 << endl; }
a.cc: In function 'int main()': a.cc:9:13: error: expected ';' before 'cout' 9 | a = N / 15 | ^ | ; 10 | 11 | cout << 800 * N - a * 200 << endl; | ~~~~
s154771909
p03795
C++
#include<bits/stdc++.h> typedef long long ll; typedef vector<int> vi; typedef vector<vector<int>> vvi; using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) #define reps(i,l,n) for(int i=(l);i<(n);i++) int main(){ int N; cin >> N; cout << N*800-N/15*200 << endl; return 0; }
a.cc:3:9: error: 'vector' does not name a type 3 | typedef vector<int> vi; | ^~~~~~ a.cc:4:9: error: 'vector' does not name a type 4 | typedef vector<vector<int>> vvi; | ^~~~~~
s141852214
p03795
C++
#include<iostream> #include<string> #include<algorithm> #include<vector> #include<queue> #include<map> #include<math.h> #include<iomanip> #include<set> #include<numeric> #include<cstring> #include<cstdio> #include<functional> #include<bitset> #include<limits.h> #include<cassert> #include<iterator> #include<complex> #include<stack> #include<sstream> using namespace std; typedef long long int lint; typedef pair<int, int> P; typedef pair<lint, lint> LLP; typedef pair<char, char>CP; #define rep(i, n) for (int i = 0; i < n; i++) #define repr(i, n) for (int i = n; i >= 0; i--) #define sort(v) sort((v).begin(), (v).end()) #define reverse(v) reverse((v).begin(), (v).end()) #define upper(v,hoge) upper_bound(v.begin(),v.end(),hoge) #define lower(v,hoge) lower_bound(v.begin(),v.end(),hoge) #define llower(v,hoge) *lower_bound(v.begin(), v.end(), hoge) #define lupper(v,hoge) *upper_bound(v.begin(), v.end(), hoge) /* vector<char>al(26); al = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; vector<char>AL(26); AL = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; vector<char>NUM(10); NUM = { '0','1','2' ,'3' ,'4' ,'5' ,'6' ,'7' ,'8' ,'9' }; */ int main() { int N; cin >> n; int X = N * 800; int Y = 200 * (N / 15); cout << X - Y << endl; }
a.cc: In function 'int main()': a.cc:47:16: error: 'n' was not declared in this scope 47 | cin >> n; | ^
s979239400
p03795
C++
#include "bits/stdc++.h" #define fi first #define se second #define all(x) x.begin(), x.end() using namespace std; using ull = unsigned long long; using ll = long long; struct __INIT { __INIT() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(15); } } __init; int main() { ull N, M; cin >> N >> M; ll sum = 0; if(M <= 1){ sum = 0; }if(2 * N > M){ sum = min(M / 2, N) }else{ sum = N; M -= 2 * N; sum += M / 4; } cout << sum << endl; }
a.cc: In function 'int main()': a.cc:25:28: error: expected ';' before '}' token 25 | sum = min(M / 2, N) | ^ | ; 26 | }else{ | ~
s060594954
p03795
C++
#include <iostream> #include <vector> #include <algorithm> #include <string.h> #include <iomanip> #include <map> #include <cstdlib> #include <cctype> #include <ctype.h> #define ll long long char toupper(char c); char toupper(char c) { return (c - 0x20); } ll GetDigit(ll num) { int n; cin >> n; cout << n * 800 - n / 15 * 200 << endl; return 0; }
a.cc: In function 'long long int GetDigit(long long int)': a.cc:19:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'? 19 | cin >> n; | ^~~ | 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:20:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'? 20 | cout << n * 800 - n / 15 * 200 << 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:20:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 20 | cout << n * 800 - n / 15 * 200 << 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) | ^~~~
s344035121
p03795
C++
#include <cstdio> int main(){ int N, x, y; scanf("%d", &N); x=800*N; y=N/15*200 printf("%d", x-y); return 0; }
a.cc: In function 'int main()': a.cc:6:13: error: expected ';' before 'printf' 6 | y=N/15*200 | ^ | ; 7 | printf("%d", x-y); | ~~~~~~
s500467557
p03795
C++
#include <stdio> int main(){ int N, x, y; scanf("%d", &N); x=800*N; y=N/15*200 printf("%d", x-y); return 0; }
a.cc:1:10: fatal error: stdio: No such file or directory 1 | #include <stdio> | ^~~~~~~ compilation terminated.
s165507433
p03795
Java
import java.util.*; public class A_55{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); System.out.println(N*800 - (N/15)*200); } }
Main.java:3: error: class A_55 is public, should be declared in a file named A_55.java public class A_55{ ^ 1 error
s776757977
p03795
C++
#include<iostream> using namespace std; int main(){ int n; cin>>n; int sum=0, for(int i=1; i<=n; i++){ sum+=800; if(i%15==0) sum-=200; } cout<<sum<<endl; return 0; }
a.cc: In function 'int main()': a.cc:7:5: error: expected unqualified-id before 'for' 7 | for(int i=1; i<=n; i++){ | ^~~ a.cc:7:18: error: 'i' was not declared in this scope 7 | for(int i=1; i<=n; i++){ | ^
s297289079
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int a,b;y; cin>>a; if(a<15) { cout<<a*800; } else if(a==15) { cout<<(a*800)-200; } else if(a>15) { y=a/15; cout<<(a*800)-(y*200); } return 0; }
a.cc: In function 'int main()': a.cc:5:13: error: 'y' was not declared in this scope 5 | int a,b;y; | ^
s580483128
p03795
Java
#include<iostream> #include<string> #include<math.h> #include<algorithm> #define rep(i,n)for(int i=0;i<n;i++) using namespace std; int main(){ int a; cin >> a; cout << a * 800 - a / 15 * 200 << endl; return 0; }
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<string> ^ Main.java:3: error: illegal character: '#' #include<math.h> ^ Main.java:4: error: illegal character: '#' #include<algorithm> ^ Main.java:5: error: illegal character: '#' #define rep(i,n)for(int i=0;i<n;i++) ^ Main.java:5: error: class, interface, enum, or record expected #define rep(i,n)for(int i=0;i<n;i++) ^ Main.java:5: error: class, interface, enum, or record expected #define rep(i,n)for(int i=0;i<n;i++) ^ Main.java:10: error: not a statement cin >> a; ^ Main.java:11: error: not a statement cout << a * 800 - a / 15 * 200 << endl; ^ Main.java:8: error: unnamed classes are a preview feature and are disabled by default. int main(){ ^ (use --enable-preview to enable unnamed classes) 10 errors
s684065459
p03795
C++
#include <iostream> using namespace std; int main(){ int N,x,y; cin >> N; x = N * 800; y = N % 15; cout >> x - y >> endl; }
a.cc: In function 'int main()': a.cc:11:10: error: no match for 'operator>>' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int') 11 | cout >> x - y >> endl; | ~~~~ ^~ ~~~~~ | | | | | int | std::ostream {aka std::basic_ostream<char>} a.cc:11:10: note: candidate: 'operator>>(int, int)' (built-in) 11 | cout >> x - y >> endl; | ~~~~~^~~~~~~~ a.cc:11:10: note: no known conversion for argument 1 from 'std::ostream' {aka 'std::basic_ostream<char>'} to 'int' In file included from /usr/include/c++/14/string:55, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/bits/basic_string.tcc:835:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 835 | operator>>(basic_istream<_CharT, _Traits>& __in, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.tcc:835:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>' 11 | cout >> x - y >> endl; | ^ In file included from /usr/include/c++/14/bits/memory_resource.h:38, from /usr/include/c++/14/string:68: /usr/include/c++/14/cstddef:131:5: note: candidate: 'template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)' 131 | operator>>(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/14/cstddef:131:5: note: template argument deduction/substitution failed: a.cc:11:5: note: cannot convert 'std::cout' (type 'std::ostream' {aka 'std::basic_ostream<char>'}) to type 'std::byte' 11 | cout >> x - y >> endl; | ^~~~ In file included from /usr/include/c++/14/istream:1109, from /usr/include/c++/14/iostream:42: /usr/include/c++/14/bits/istream.tcc:978:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)' 978 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) | ^~~~~~~~ /usr/include/c++/14/bits/istream.tcc:978:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:849:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)' 849 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c) | ^~~~~~~~ /usr/include/c++/14/istream:849:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<char, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:854:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)' 854 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c) | ^~~~~~~~ /usr/include/c++/14/istream:854:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<char, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:896:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT*)' 896 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) | ^~~~~~~~ /usr/include/c++/14/istream:896:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:939:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char*)' 939 | operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s) | ^~~~~~~~ /usr/include/c++/14/istream:939:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<char, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:945:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char*)' 945 | operator>>(basic_istream<char, _Traits>& __in, signed char* __s) | ^~~~~~~~ /usr/include/c++/14/istream:945:5: note: template argument deduction/substitution failed: a.cc:11:17: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'std::basic_istream<char, _Traits>' 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:1099:5: note: candidate: 'template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)' 1099 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~ /usr/include/c++/14/istream:1099:5: note: template argument deduction/substitution failed: /usr/include/c++/14/istream: In substitution of 'template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ostream<char>&; _Tp = int]': a.cc:11:17: required from here 11 | cout >> x - y >> endl; | ^ /usr/include/c++/14/istream:1099:5: error: no type named 'type' in 'struct std::enable_if<false, void>' 1099 | operator>>(_Istream&& __is, _Tp&& __x) | ^~~~~~~~
s121074802
p03795
C++
#include<iostream> #include<string> #include<vector> #include<algorithm> #include<iomanip> #include<math.h> #include<iomanip> #include<cstdio> using namespace std; int main() { int N, x, y,sum; cin >> N; sum = 800 * N; y = N / 15; sum -= 200y; cout << sum; }
a.cc: In function 'int main()': a.cc:16:24: error: unable to find numeric literal operator 'operator""y' 16 | sum -= 200y; | ^~~~
s796539810
p03795
C++
#include <iostream> #include <math.h> using namespace std; int main() { float n; cin >> n; cashback = floor(n/15) * 200 cout << n*800 - cashback << endl; return 0; }
a.cc: In function 'int main()': a.cc:7:3: error: 'cashback' was not declared in this scope 7 | cashback = floor(n/15) * 200 | ^~~~~~~~
s090128832
p03795
Java
import java.util.Scanner; public class Restaurant { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); scan.close(); int x = (n - (n % 15)) / 15; int amount = 800 * n - 200 * x; System.out.println(amount); } }
Main.java:3: error: class Restaurant is public, should be declared in a file named Restaurant.java public class Restaurant { ^ 1 error
s595155906
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int n; scanf("%d",&n); printf("%d\n"(n*800)-200); return 0; }
a.cc: In function 'int main()': a.cc:7:18: error: expression cannot be used as a function 7 | printf("%d\n"(n*800)-200); | ~~~~~~^~~~~~~
s040704144
p03795
C++
#include <iostream> #include <iomanip> #include <string> #include <stack> #include <vector> #include <math.h> #include <stdio.h> #include <algorithm> #include <utility> #include <functional> #include <map> #include <set> #include <queue> #include <list> using namespace std; using pii = pair<int,int>; using ll=long long; using ld=long double; #define pb push_back #define mp make_pair #define stpr setprecision #define rep(i,n) for(ll i=0;i<(n);++i) #define REP(i,a,b) for(ll i=(a);i<(b);++i) #define crep(i) for(char i='a';i<='z';++i) #define psortsecond(A,N) sort(A,A+N,[](const pii &a, const pii &b){return a.second<b.second;}); #define ALL(x) (x).begin(),(x).end() #define debug(v) cout<<#v<<":";for(auto x:v){cout<<x<<' ';}cout<<endl; #define endl '\n' int ctoi(const char c){ if('0' <= c && c <= '9') return (c-'0'); return -1; } ll gcd(ll a,ll b){return (b == 0 ? a : gcd(b, a%b));} ll lcm(ll a,ll b){return a*b/gcd(a,b);} constexpr ll MOD=1000000007; constexpr ll INF=1000000011; constexpr ll MOD2=998244353; constexpr ll LINF = 1001002003004005006ll; constexpr ld EPS=10e-8; template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; } template<typename T> istream& operator>>(istream& is,vector<T>& v){for(auto&& x:v)is >> x;return is;} template<typename T,typename U> istream& operator>>(istream& is, pair<T,U>& p){ is >> p.first; is >> p.second; return is;} template<typename T,typename U> ostream& operator>>(ostream& os, const pair<T,U>& p){ os << p.first << ' ' << p.second; return os;} template<class T> ostream& operator<<(ostream& os, vector<T>& v){ for(auto i=begin(v); i != end(v); ++i){ if(i !=begin(v)) os << ' '; os << *i; } return os; } int main() { ll N; cin >> N; cout << N*800-((N)/15)*200 << endl; }
a.cc: In function 'int main()': a.cc:60:1: error: '\U0000ff5d' was not declared in this scope 60 | } | ^~ a.cc:60:3: error: expected '}' at end of input 60 | } | ^ a.cc:56:12: note: to match this '{' 56 | int main() { | ^
s433667270
p03795
C++
#include <iostream> #include <iomanip> #include <string> #include <stack> #include <vector> #include <math.h> #include <stdio.h> #include <algorithm> #include <utility> #include <functional> #include <map> #include <set> #include <queue> #include <list> using namespace std; using pii = pair<int,int>; using ll=long long; using ld=long double; #define pb push_back #define mp make_pair #define stpr setprecision #define rep(i,n) for(ll i=0;i<(n);++i) #define REP(i,a,b) for(ll i=(a);i<(b);++i) #define crep(i) for(char i='a';i<='z';++i) #define psortsecond(A,N) sort(A,A+N,[](const pii &a, const pii &b){return a.second<b.second;}); #define ALL(x) (x).begin(),(x).end() #define debug(v) cout<<#v<<":";for(auto x:v){cout<<x<<' ';}cout<<endl; #define endl '\n' int ctoi(const char c){ if('0' <= c && c <= '9') return (c-'0'); return -1; } ll gcd(ll a,ll b){return (b == 0 ? a : gcd(b, a%b));} ll lcm(ll a,ll b){return a*b/gcd(a,b);} constexpr ll MOD=1000000007; constexpr ll INF=1000000011; constexpr ll MOD2=998244353; constexpr ll LINF = 1001002003004005006ll; constexpr ld EPS=10e-8; template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; } template<typename T> istream& operator>>(istream& is,vector<T>& v){for(auto&& x:v)is >> x;return is;} template<typename T,typename U> istream& operator>>(istream& is, pair<T,U>& p){ is >> p.first; is >> p.second; return is;} template<typename T,typename U> ostream& operator>>(ostream& os, const pair<T,U>& p){ os << p.first << ' ' << p.second; return os;} template<class T> ostream& operator<<(ostream& os, vector<T>& v){ for(auto i=begin(v); i != end(v); ++i){ if(i !=begin(v)) os << ' '; os << *i; } return os; } int main() { ll N; cin >> N; cout << N*800-((N)/15)*200 << endl; }
a.cc: In function 'int main()': a.cc:58:5: error: expected initializer before 'cin' 58 | cin >> N; | ^~~ a.cc:59:13: error: 'N' was not declared in this scope 59 | cout << N*800-((N)/15)*200 << endl; | ^ a.cc:60:1: error: '\U0000ff5d' was not declared in this scope 60 | } | ^~ a.cc:60:3: error: expected '}' at end of input 60 | } | ^ a.cc:56:12: note: to match this '{' 56 | int main() { | ^
s819884386
p03795
C++
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define rep(i, n) for (ll i = 0; i < n; i++) #define FOR(i, a, b) for (ll i = a; i < b; i++) #define len(v) ll(v.size()) #define fi first #define se second template <class T> void cout_vec(const vector<T> &vec){ for(auto itr:vec) cout<<itr<<' '; cout<<endl; } typedef pair<ll,ll> P; const ll mod=1e9+7; const ll inf=1e15; int main(){ cin.tie(0); ios::sync_with_stdio(false); }#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define rep(i, n) for (ll i = 0; i < n; i++) #define FOR(i, a, b) for (ll i = a; i < b; i++) #define len(v) ll(v.size()) #define fi first #define se second template <class T> void cout_vec(const vector<T> &vec){ for(auto itr:vec) cout<<itr<<' '; cout<<endl; } typedef pair<ll,ll> P; const ll mod=1e9+7; const ll inf=1e15; int main(){ cin.tie(0); ios::sync_with_stdio(false); int n; cin>>n; int x=0,y=0; FOR(i,1,n+1){ x+=800; if(i%15==0) y+=200; } cout<<x-y<<endl; }
a.cc:24:2: error: stray '#' in program 24 | }#include<bits/stdc++.h> | ^ a.cc:24:3: error: 'include' does not name a type 24 | }#include<bits/stdc++.h> | ^~~~~~~ a.cc:35:6: error: redefinition of 'template<class T> void cout_vec(const std::vector<_Tp>&)' 35 | void cout_vec(const vector<T> &vec){ | ^~~~~~~~ a.cc:12:6: note: 'template<class T> void cout_vec(const std::vector<_Tp>&)' previously declared here 12 | void cout_vec(const vector<T> &vec){ | ^~~~~~~~ a.cc:41:10: error: redefinition of 'const ll mod' 41 | const ll mod=1e9+7; | ^~~ a.cc:18:10: note: 'const ll mod' previously defined here 18 | const ll mod=1e9+7; | ^~~ a.cc:42:10: error: redefinition of 'const ll inf' 42 | const ll inf=1e15; | ^~~ a.cc:19:10: note: 'const ll inf' previously defined here 19 | const ll inf=1e15; | ^~~ a.cc:44:5: error: redefinition of 'int main()' 44 | int main(){ | ^~~~ a.cc:21:5: note: 'int main()' previously defined here 21 | int main(){ | ^~~~
s161453550
p03795
C++
#include <bits/stdc++> using namespace std; int main() { int n; cin >> n; cout << 800 * n - 200 * (n/15) << endl; }
a.cc:1:10: fatal error: bits/stdc++: No such file or directory 1 | #include <bits/stdc++> | ^~~~~~~~~~~~~ compilation terminated.
s031278978
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { //input int n; cin >> n; cout << n*800 - n%15*200 return 0; }
a.cc: In function 'int main()': a.cc:8:29: error: expected ';' before 'return' 8 | cout << n*800 - n%15*200 | ^ | ; 9 | 10 | return 0; | ~~~~~~
s672963086
p03795
C++
#include <bits/stdc++.h> using namespace std; int n; int x,y; cin>>n; cout<<n*800-(n%15)*200 }
a.cc:6:1: error: 'cin' does not name a type 6 | cin>>n; | ^~~ a.cc:7:1: error: 'cout' does not name a type 7 | cout<<n*800-(n%15)*200 | ^~~~ a.cc:8:1: error: expected declaration before '}' token 8 | } | ^
s979757608
p03795
C++
#include<iostream> using namespace; int main(){ int n; cin >> n; int x, y; x = n * 800; y = (n/15) * 200; cout << x - y; return 0; }
a.cc:2:16: error: expected identifier before ';' token 2 | using namespace; | ^ 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 >> n; | ^~~ | 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:12:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'? 12 | cout << x - y; | ^~~~ | std::cout /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~
s296776409
p03795
C++
#include<bits\stdc++.h> using namespace std; int sum,n; int main() { cin>>n; sum=n*800; while(n>=15){sum-=200;n-=15;} printf("%d\n",sum); return 0; }
a.cc:1:9: fatal error: bits\stdc++.h: No such file or directory 1 | #include<bits\stdc++.h> | ^~~~~~~~~~~~~~~ compilation terminated.
s639242798
p03795
C++
#include<bits/stdc++.h> using namespace std; int main () { static int N; static int x, y; x = 800*N; y = 200*(N/15) cout << x-y << endl; }
a.cc: In function 'int main()': a.cc:8:19: error: expected ';' before 'cout' 8 | y = 200*(N/15) | ^ | ; 9 | cout << x-y << endl; | ~~~~
s473977213
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int pay; pay = n*800 - n/15*200 return 0; }
a.cc: In function 'int main()': a.cc:9:25: error: expected ';' before 'return' 9 | pay = n*800 - n/15*200 | ^ | ; 10 | return 0; | ~~~~~~
s430539699
p03795
C++
#include <Cstdio> int n, cost; int main(){ scanf("%d", &n); cost = 800*n; cost -= n/15*200; printf("%d\n", cost); return 0; }
a.cc:1:10: fatal error: Cstdio: No such file or directory 1 | #include <Cstdio> | ^~~~~~~~ compilation terminated.
s131775382
p03795
C++
#include<iostream> using namespace std; int n; int main(){ cin>>n; cout<<n*800-200*(n/15)<<endl;. return 0; }
a.cc: In function 'int main()': a.cc:6:34: error: expected primary-expression before '.' token 6 | cout<<n*800-200*(n/15)<<endl;. | ^ a.cc:7:5: error: expected unqualified-id before 'return' 7 | return 0; | ^~~~~~
s109101824
p03795
C++
#include<iostream> int main(int n=0){ std::cin>>n; std::cout<<n*800-200*(n/15)<<endl;. return 0; }
a.cc:2:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain] 2 | int main(int n=0){ | ^~~~ a.cc: In function 'int main(int)': a.cc:4:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 4 | std::cout<<n*800-200*(n/15)<<endl;. | ^~~~ | std::endl In file included from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here 744 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ a.cc:4:39: error: expected primary-expression before '.' token 4 | std::cout<<n*800-200*(n/15)<<endl;. | ^ a.cc:5:5: error: expected unqualified-id before 'return' 5 | return 0; | ^~~~~~
s338949570
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int128_t S; cin>>S; int128_t G=1; for(int i=0; i<S; i++){ G*=(i+1); } cout<<G%(1e9+7)<<endl; }
a.cc: In function 'int main()': a.cc:5:3: error: 'int128_t' was not declared in this scope; did you mean 'int8_t'? 5 | int128_t S; | ^~~~~~~~ | int8_t a.cc:6:8: error: 'S' was not declared in this scope 6 | cin>>S; | ^ a.cc:7:11: error: expected ';' before 'G' 7 | int128_t G=1; | ^~ | ; a.cc:9:5: error: 'G' was not declared in this scope 9 | G*=(i+1); | ^ a.cc:11:7: error: 'G' was not declared in this scope 11 | cout<<G%(1e9+7)<<endl; | ^
s919441398
p03795
C++
n = int(input()) x = 800*n y = (n//15)*200 print(x-y)
a.cc:1:1: error: 'n' does not name a type 1 | n = int(input()) | ^
s303927958
p03795
C++
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<n*800-(n//15)*200<<endl; }
a.cc: In function 'int main()': a.cc:6:19: error: expected ')' before '}' token 6 | cout<<n*800-(n//15)*200<<endl; | ~ ^ | ) 7 | } | ~ a.cc:6:19: error: expected ';' before '}' token 6 | cout<<n*800-(n//15)*200<<endl; | ^ | ; 7 | } | ~
s791645425
p03795
C++
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<n*800-n//15*200<<endl; }
a.cc: In function 'int main()': a.cc:6:18: error: expected ';' before '}' token 6 | cout<<n*800-n//15*200<<endl; | ^ | ; 7 | } | ~
s349743393
p03795
C++
#include <bits/stdc++.h> using namespace std; const int MOD = 1000000007; const int INF = 1e9; //long long using ll = long long; //出力系 #define print(x) cout << x << endl #define yes cout << "Yes" << endl #define YES cout << "YES" << endl #define no cout << "No" << endl #define NO cout << "NO" << endl // begin() end() #define all(x) (x).begin(),(x).end() //for #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define REPR(i,n) for(int i=n, i##_len=(n); i>=0; i--) #define FOR(i,a,b) for(int i=(a), i##_len=(b); i<i##_len; ++i) //最大公約数 ll gcd(ll a,ll b){ if(b == 0) return a; return gcd(b,a%b); } //最小公倍数 ll lcm(ll a,ll b){ ll g = gcd(a,b); return a / g * b; // Be careful not to overflow if(a < b) return gcd(b, a); unsigned r; while ((r=a%b)) { a = b; b = r; } return b; } int main() { int N; cin >> N; int ge = 200 * (N / 15) int ans = N * 800 - ge; print(ans); }
a.cc: In function 'int main()': a.cc:51:1: error: expected ',' or ';' before 'int' 51 | int ans = N * 800 - ge; | ^~~ a.cc:53:7: error: 'ans' was not declared in this scope; did you mean 'abs'? 53 | print(ans); | ^~~ a.cc:11:26: note: in definition of macro 'print' 11 | #define print(x) cout << x << endl | ^
s277010565
p03795
C++
#include<iostream> using namespace std; int main() { int n ; cin >> n ; int m = n/15 cout << 800*n - 200*m << endl; }
a.cc: In function 'int main()': a.cc:11:3: error: expected ',' or ';' before 'cout' 11 | cout << 800*n - 200*m << endl; | ^~~~
s492321159
p03795
C
#include <stdio.h> int main(void){ // Your code here! int x, y, N; scanf("%d", &N); x = N * 800; y = (N / 15) * 200; printf("%d" , x - y); return 0; }
main.c: In function 'main': main.c:7:9: error: stray '\343' in program 7 | y = (N<U+3000>/ 15) * 200; | ^~~~~~~~
s194634757
p03795
C
#include <stdio.h> int main(void){ // Your code here! int x, y, N; scanf("%d", &N); x = N * 800; y = (N / 15) * 200; printf("%d" , x - y); return 0; }
main.c: In function 'main': main.c:7:9: error: stray '\343' in program 7 | y = (N<U+3000>/ 15) * 200; | ^~~~~~~~
s590345842
p03795
C
#include <stdio.h> int main(void){ // Your code here! int x, y, N; scanf("%d", &N); x = N * 800; y = (N / 15) * 200; printf("%d" , x - y); return 0; }
main.c: In function 'main': main.c:7:11: error: stray '\343' in program 7 | y = (N<U+3000>/ 15) * 200; | ^~~~~~~~
s542979010
p03795
C
#include <stdio.h> int main(void){ // Your code here! int x, y, N; scanf("%d", &N); x = N * 800; y = (N / 15) * 200; printf("%d" , x - y); }
main.c: In function 'main': main.c:7:11: error: stray '\343' in program 7 | y = (N<U+3000>/ 15) * 200; | ^~~~~~~~
s945055467
p03795
C
#include <stdio.h> int main (void){ int x=0; int y=0; int i,n; scanf("%d",%n); for(i=1;i<=n;i++){ x=x+800: if(i%15==0) y=y+200; } printf("%d\n",x-y); }
main.c: In function 'main': main.c:7:14: error: expected expression before '%' token 7 | scanf("%d",%n); | ^ main.c:11:12: error: expected ';' before ':' token 11 | x=x+800: | ^ | ;
s831333938
p03795
C++
#include<iostream> using namespace std; int main() { int a,b,; cin>>b; a=b/15; cout<<b*800-a*200<<endl; return 0; }
a.cc: In function 'int main()': a.cc:5:13: error: expected unqualified-id before ';' token 5 | int a,b,; | ^
s041190753
p03795
C++
#include <iostream> using namespace std; class A { int N; public: void solve() { cin << N; cout << (800 * N - 200 * (N / 15)) << endl; } }; int main() { A solution; solution.solve(); return 0; }
a.cc: In member function 'void A::solve()': a.cc:11:11: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'int') 11 | cin << N; | ~~~ ^~ ~ | | | | | int | std::istream {aka std::basic_istream<char>} a.cc:11:11: note: candidate: 'operator<<(int, int)' (built-in) 11 | cin << N; | ~~~~^~~~ a.cc:11:11: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int' In file included from /usr/include/c++/14/bits/basic_string.h:47, from /usr/include/c++/14/string:54, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/string_view:763:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>)' 763 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/14/string_view:763:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/bits/basic_string.h:4077:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 4077 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:4077:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ In file included from /usr/include/c++/14/bits/memory_resource.h:38, from /usr/include/c++/14/string:68: /usr/include/c++/14/cstddef:125:5: note: candidate: 'template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, _IntegerType)' 125 | operator<<(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/14/cstddef:125:5: note: template argument deduction/substitution failed: a.cc:11:7: note: cannot convert 'std::cin' (type 'std::istream' {aka 'std::basic_istream<char>'}) to type 'std::byte' 11 | cin << N; | ^~~ In file included from /usr/include/c++/14/bits/ios_base.h:46: /usr/include/c++/14/system_error:339:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/14/system_error:339:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:563:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT)' 563 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/14/ostream:563:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:573:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 573 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/14/ostream:573:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:579:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)' 579 | operator<<(basic_ostream<char, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/14/ostream:579:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:590:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)' 590 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/14/ostream:590:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:595:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)' 595 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/14/ostream:595:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:654:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*)' 654 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/14/ostream:654:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ In file included from /usr/include/c++/14/ostream:1022: /usr/include/c++/14/bits/ostream.tcc:307:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/14/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:671:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)' 671 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/14/ostream:671:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:684:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)' 684 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/14/ostream:684:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:689:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)' 689 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/14/ostream:689:5: note: template argument deduction/substitution failed: a.cc:11:14: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'std::basic_ostream<char, _Traits>' 11 | cin << N; | ^ /usr/include/c++/14/ostream:810:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 810 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/14/ostream:810:5: note: template argument deduction/substitution failed: /usr/include/c++/14/ostream: In substitution of 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_istream<char>&; _Tp = int]': a.cc:11:14: required from here 11 | cin << N; | ^ /usr/include/c++/14/ostream:810:5: error: no type named 'type' in 'struct std::enable_if<false, void>' 810 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~
s821047864
p03795
C++
#include<iostream> using namespace std; int main(){ int n ; cin >> n; cout << n*800-(n/15)*200<endl; return 0; }
a.cc: In function 'int main()': a.cc:7:29: error: no match for 'operator<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>') 7 | cout << n*800-(n/15)*200<endl; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/c++/14/string:48, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/bits/stl_iterator.h:448:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)' 448 | operator<(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:448:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/stl_iterator.h:493:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)' 493 | operator<(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:493:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::reverse_iterator<_Iterator>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/stl_iterator.h:1694:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)' 1694 | operator<(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1694:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::move_iterator<_IteratorL>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/stl_iterator.h:1760:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)' 1760 | operator<(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1760:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::move_iterator<_IteratorL>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:1045:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const pair<_T1, _T2>&, const pair<_T1, _T2>&)' 1045 | operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::pair<_T1, _T2>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ In file included from /usr/include/c++/14/bits/basic_string.h:47, from /usr/include/c++/14/string:54: /usr/include/c++/14/string_view:673:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)' 673 | operator< (basic_string_view<_CharT, _Traits> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:673:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/string_view:680:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)' 680 | operator< (basic_string_view<_CharT, _Traits> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:680:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/string_view:688:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)' 688 | operator< (__type_identity_t<basic_string_view<_CharT, _Traits>> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:688:5: note: template argument deduction/substitution failed: a.cc:7:30: note: couldn't deduce template parameter '_CharT' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/basic_string.h:3874:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 3874 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3874:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/basic_string.h:3888:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)' 3888 | operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3888:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ /usr/include/c++/14/bits/basic_string.h:3901:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 3901 | operator<(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3901:5: note: template argument deduction/substitution failed: a.cc:7:30: note: mismatched types 'const _CharT*' and 'std::basic_ostream<char>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ In file included from /usr/include/c++/14/bits/memory_resource.h:47, from /usr/include/c++/14/string:68: /usr/include/c++/14/tuple:2600:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)' 2600 | operator<(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/14/tuple:2600:5: note: template argument deduction/substitution failed: a.cc:7:30: note: 'std::basic_ostream<char>' is not derived from 'const std::tuple<_UTypes ...>' 7 | cout << n*800-(n/15)*200<endl; | ^~~~ In file included from /usr/include/c++/14/bits/ios_base.h:46: /usr/include/c++/14/system_error:324:3: note: candidate: 'bool std::operator<(const error_code&, const error_code&)' 324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept | ^~~~~~~~ /usr/include/c++/14/system_error:324:31: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const std::error_code&' 324 | operator<(const error_code& __lhs, const error_code& __rhs) noexcept | ~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/14/system_error:507:3: note: candidate: 'bool std::operator<(const error_condition&, const error_condition&)' 507 | operator<(const error_condition& __lhs, | ^~~~~~~~ /usr/include/c++/14/system_error:507:36: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'const std::error_condition&' 507 | operator<(const error_condition& __lhs, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
s595820205
p03795
C++
#include <iostream> using namespace std; int main(void){ // Your code here! int A,B; cin >> N; cout << N * 800 - (n/15)*200 << endl; }
a.cc: In function 'int main()': a.cc:6:12: error: 'N' was not declared in this scope 6 | cin >> N; | ^ a.cc:7:24: error: 'n' was not declared in this scope 7 | cout << N * 800 - (n/15)*200 << endl; | ^
s908012226
p03795
C++
#include <iostream> using namespace std; int main (){ int x,y,N; cin >> N; x = 800*N y = N/15*200 cout << x-y << endl; return 0; }
a.cc: In function 'int main()': a.cc:8:14: error: expected ';' before 'y' 8 | x = 800*N | ^ | ; 9 | y = N/15*200 | ~
s815340058
p03795
C++
っへ
a.cc:1:1: error: '\U00003063\U00003078' does not name a type 1 | っへ | ^~~~
s717656156
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int n=0,x=0,ans=0; cin>>n; if(n>=15) x=((n/15)*200); ans=x-y; cout<<"ans"; else{ x=n*800; ans=x; cout<<"ans"; } return 0; }
a.cc: In function 'int main()': a.cc:10:15: error: 'y' was not declared in this scope 10 | ans=x-y; | ^ a.cc:13:1: error: 'else' without a previous 'if' 13 | else{ | ^~~~
s216575513
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int n=0,x=0,ans=0; cin>>n; if(n>=15) x=((n/15)*200); ans=x-y; cout<<"ans"; } else{ x=n*800; ans=x; cout<<"ans"; } return 0; }
a.cc: In function 'int main()': a.cc:10:15: error: 'y' was not declared in this scope 10 | ans=x-y; | ^ a.cc: At global scope: a.cc:13:1: error: expected unqualified-id before 'else' 13 | else{ | ^~~~ a.cc:21:9: error: expected unqualified-id before 'return' 21 | return 0; | ^~~~~~ a.cc:22:1: error: expected declaration before '}' token 22 | } | ^
s923229760
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int n=o,x=0,y=0,ans=0; scanf("%d",&n); if(n>=15){ x=n*800; y=((n/15)*200); ans=x-y; printf("%d",ans); } else{ x=n*800; ans=x; printf("%d",ans); } return 0; }
a.cc: In function 'int main()': a.cc:4:15: error: 'o' was not declared in this scope 4 | int n=o,x=0,y=0,ans=0; | ^ a.cc:7:17: error: 'x' was not declared in this scope 7 | x=n*800; | ^ a.cc:8:17: error: 'y' was not declared in this scope 8 | y=((n/15)*200); | ^ a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 9 | ans=x-y; | ^~~ | abs a.cc:13:17: error: 'x' was not declared in this scope 13 | x=n*800; | ^ a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 14 | ans=x; | ^~~ | abs
s985530312
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int n=o,x=0,y=0,ans=0; scanf("%d",&n); if(n>=15){ x=n*800; y=((n/15)*200); ans=x-y; printf("%d",ans); } else{ x=n*800; ans=x; printf("%d",ans); } }
a.cc: In function 'int main()': a.cc:4:15: error: 'o' was not declared in this scope 4 | int n=o,x=0,y=0,ans=0; | ^ a.cc:7:17: error: 'x' was not declared in this scope 7 | x=n*800; | ^ a.cc:8:17: error: 'y' was not declared in this scope 8 | y=((n/15)*200); | ^ a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 9 | ans=x-y; | ^~~ | abs a.cc:13:17: error: 'x' was not declared in this scope 13 | x=n*800; | ^ a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 14 | ans=x; | ^~~ | abs
s994105064
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int n=o,x=0,y=o,ans=0; scanf("%d",&n); if(n>=15){ x=n*800; y=((n/15)*200); ans=x-y; printf("%d",ans); } else{ x=n*800; ans=x; printf("%d",ans); } }
a.cc: In function 'int main()': a.cc:4:15: error: 'o' was not declared in this scope 4 | int n=o,x=0,y=o,ans=0; | ^ a.cc:7:17: error: 'x' was not declared in this scope 7 | x=n*800; | ^ a.cc:8:17: error: 'y' was not declared in this scope 8 | y=((n/15)*200); | ^ a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 9 | ans=x-y; | ^~~ | abs a.cc:13:17: error: 'x' was not declared in this scope 13 | x=n*800; | ^ a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'? 14 | ans=x; | ^~~ | abs
s060900545
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int y = n/15; int x = 800*n cout << x-200*y <<endl; }
a.cc: In function 'int main()': a.cc:8:3: error: expected ',' or ';' before 'cout' 8 | cout << x-200*y <<endl; | ^~~~
s764463289
p03795
C++
#include<iostream> using namespace std; int main() { int N,x,y; cin>>N; if(N>=15){ x=N*800; y=(N/15)*200; cout<<x-y; } else{ x=N*800; y=0; cout<<x-y; }
a.cc: In function 'int main()': a.cc:18:2: error: expected '}' at end of input 18 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
s971518735
p03795
C
#include<iostream> using namespace std; int main(){ int n,y; cin>>n; int c=0; for(int i=15;i<=n;i++) if(n>=15&&i%15==0) c++; y=(n*800)-(c*200); cout<<y; return 0; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s297953954
p03795
C
#include<iostream> using namespace std; int main(){ int n,x; cin>>n; int c=0; for(int i=15;i<=n;i++) if(n>=15&&i%15==0) c++; x=(n*800)-(c*200); cout<<x; return 0; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s828376524
p03795
C++
#include<bits\stdc++.h> using namespace std; int main(){ int n,x,c=1; scanf("%d",&n); for(int i=15;i<n;i++) if(n>15&&i%15==0){ c++; x=(n*800)-(c*200); } cout<<x; }
a.cc:1:9: fatal error: bits\stdc++.h: No such file or directory 1 | #include<bits\stdc++.h> | ^~~~~~~~~~~~~~~ compilation terminated.
s334108550
p03795
C++
#include<bits\stdc++.h> using namespace std; int main(){ int n,x,c=1; scanf("%d",&n); for(int i=15;i<n;i++) if(n>15&&i%15==0){ c++; x=(n*800)-(c*200); } cout<<x; }
a.cc:1:9: fatal error: bits\stdc++.h: No such file or directory 1 | #include<bits\stdc++.h> | ^~~~~~~~~~~~~~~ compilation terminated.
s284909166
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int x, n, y, x=0, i, y; scanf("%d", &n); if(n>=1 && n<=100){ x=800*n; if(n>15){ i=n/15; y=x-(i*200); printf("%d", y); } else{ printf("%d", x); } } else{ printf("Error"); } return 0; }
a.cc: In function 'int main()': a.cc:5:22: error: redeclaration of 'int x' 5 | int x, n, y, x=0, i, y; | ^ a.cc:5:13: note: 'int x' previously declared here 5 | int x, n, y, x=0, i, y; | ^ a.cc:5:30: error: redeclaration of 'int y' 5 | int x, n, y, x=0, i, y; | ^ a.cc:5:19: note: 'int y' previously declared here 5 | int x, n, y, x=0, i, y; | ^
s300129788
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int x, n, y, z=, i, t; scanf("%d", &n); if(n>=1 && n<=100){ x=800*n; if(n>15){ i=n/15; y=x-(i*200); printf("%d", y); } else{ printf("%d", x); } } else{ printf("Error"); } return 0; }
a.cc: In function 'int main()': a.cc:5:24: error: expected primary-expression before ',' token 5 | int x, n, y, z=, i, t; | ^ a.cc:10:25: error: 'i' was not declared in this scope 10 | i=n/15; | ^
s157114373
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int x, n, y, x=1, i, b; scanf("%d", &n); if(n>=1 && n<=100){ x=800*n; if(n>15){ i=n/15; y=(i*200); b=x-y; printf("%d", b); } else{ printf("%d", x); } } else{ printf("Error"); } return 0; }
a.cc: In function 'int main()': a.cc:5:22: error: redeclaration of 'int x' 5 | int x, n, y, x=1, i, b; | ^ a.cc:5:13: note: 'int x' previously declared here 5 | int x, n, y, x=1, i, b; | ^
s422329409
p03795
C++
#include<bits/stdc++.h> using namespace std; int main() { int x, n, y, x=0, i, y=1; scanf("%d", &n); if(n>=1 && n<=100){ x=800*n; if(n>15){ i=n/15; y=x-(i*200); printf("%d", y); } else{ printf("%d", x); } } else{ printf("Error"); } return 0; }
a.cc: In function 'int main()': a.cc:5:22: error: redeclaration of 'int x' 5 | int x, n, y, x=0, i, y=1; | ^ a.cc:5:13: note: 'int x' previously declared here 5 | int x, n, y, x=0, i, y=1; | ^ a.cc:5:30: error: redeclaration of 'int y' 5 | int x, n, y, x=0, i, y=1; | ^ a.cc:5:19: note: 'int y' previously declared here 5 | int x, n, y, x=0, i, y=1; | ^
s811368876
p03795
Java
import java.util.Scanner; 2. 3.public class Main{ 4. public static void main(String[] args){ 5. Scanner sc = new Scanner(System. in); 6. int n = sc.nextInt(); 7. int x = 800 * n; 8. int y = 200 * ( n / 15 ); 9. System.out.oriintin(x - y); 10. } 11.}
Main.java:2: error: class, interface, enum, or record expected 2. ^ Main.java:4: error: illegal start of type 4. public static void main(String[] args){ ^ Main.java:5: error: not a statement 5. Scanner sc = new Scanner(System. in); ^ Main.java:5: error: ';' expected 5. Scanner sc = new Scanner(System. in); ^ Main.java:6: error: not a statement 6. int n = sc.nextInt(); ^ Main.java:6: error: ';' expected 6. int n = sc.nextInt(); ^ Main.java:7: error: not a statement 7. int x = 800 * n; ^ Main.java:7: error: ';' expected 7. int x = 800 * n; ^ Main.java:8: error: not a statement 8. int y = 200 * ( n / 15 ); ^ Main.java:8: error: ';' expected 8. int y = 200 * ( n / 15 ); ^ Main.java:9: error: not a statement 9. System.out.oriintin(x - y); ^ Main.java:9: error: ';' expected 9. System.out.oriintin(x - y); ^ Main.java:10: error: not a statement 10. } ^ Main.java:10: error: ';' expected 10. } ^ Main.java:11: error: illegal start of type 11.} ^ 15 errors
s373845510
p03795
Java
import java.util.Scanner; 2.public class Main{ 3. public static void main(String[] args){ 4. Scanner sc = new Scanner(System.in); 5. int n = sc.nextInt(); 6. int x = 800 * n; 7. int y = 200 * ( n / 15); 8. System.out.println( x - y ); 9. } 10.}
Main.java:2: error: class, interface, enum, or record expected 2.public class Main{ ^ Main.java:3: error: illegal start of type 3. public static void main(String[] args){ ^ Main.java:4: error: not a statement 4. Scanner sc = new Scanner(System.in); ^ Main.java:4: error: ';' expected 4. Scanner sc = new Scanner(System.in); ^ Main.java:5: error: not a statement 5. int n = sc.nextInt(); ^ Main.java:5: error: ';' expected 5. int n = sc.nextInt(); ^ Main.java:6: error: not a statement 6. int x = 800 * n; ^ Main.java:6: error: ';' expected 6. int x = 800 * n; ^ Main.java:7: error: not a statement 7. int y = 200 * ( n / 15); ^ Main.java:7: error: ';' expected 7. int y = 200 * ( n / 15); ^ Main.java:8: error: not a statement 8. System.out.println( x - y ); ^ Main.java:8: error: ';' expected 8. System.out.println( x - y ); ^ Main.java:9: error: not a statement 9. } ^ Main.java:9: error: ';' expected 9. } ^ Main.java:10: error: illegal start of type 10.} ^ 15 errors
s438387703
p03795
Java
import java.util.Scanner; public class Main{ 3. public static void main(String[] args){ 4. Scanner sc = new Scanner(System.in); 5. int n = sc.nextInt(); 6. int x = 800 * n; 7. int y = 200 * (n/25); 8. System.out.println(x-y); 9. } 10.}
Main.java:4: error: illegal start of type 3. public static void main(String[] args){ ^ Main.java:5: error: not a statement 4. Scanner sc = new Scanner(System.in); ^ Main.java:5: error: ';' expected 4. Scanner sc = new Scanner(System.in); ^ Main.java:6: error: not a statement 5. int n = sc.nextInt(); ^ Main.java:6: error: ';' expected 5. int n = sc.nextInt(); ^ Main.java:7: error: not a statement 6. int x = 800 * n; ^ Main.java:7: error: ';' expected 6. int x = 800 * n; ^ Main.java:8: error: not a statement 7. int y = 200 * (n/25); ^ Main.java:8: error: ';' expected 7. int y = 200 * (n/25); ^ Main.java:9: error: not a statement 8. System.out.println(x-y); ^ Main.java:9: error: ';' expected 8. System.out.println(x-y); ^ Main.java:10: error: not a statement 9. } ^ Main.java:10: error: ';' expected 9. } ^ Main.java:11: error: illegal start of type 10.} ^ 14 errors
s063202433
p03795
Java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = 800 * n; int y = 200 * (n/15); System.out.printin(x-y); } }
Main.java:12: error: cannot find symbol System.out.printin(x-y); ^ symbol: method printin(int) location: variable out of type PrintStream 1 error
s587087559
p03795
Java
import java.util.Scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System. in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15); System.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
s799422069
p03795
Java
import java.util.Scanner; public class Main{ public static void main(String{} args){ Scanner sc = new Scanner(System. in); int n = sc.nextInt(); int x = 800 * n; int y = 200 * ( n / 15 ); System.out.oriintin(x - y); } }
Main.java:4: error: <identifier> expected public static void main(String{} args){ ^ Main.java:4: error: <identifier> expected public static void main(String{} args){ ^ 2 errors
s028897378
p03795
Java
import java.utl.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15); int result = x - y; System.out.println(result); } }
Main.java:1: error: package java.utl does not exist import java.utl.*; ^ Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 3 errors
s153852928
p03795
Java
import.java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = 800 * n; int y = 200 * ( n / 15 ); System.out.println( x - y ); } }
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
s849753820
p03795
Java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = 800 * n; int y = 200 * ( n / 15); System out.println( x - y ); } }
Main.java:8: error: ';' expected System out.println( x - y ); ^ 1 error
s448903398
p03795
Java
import java.utl.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in) int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15) int result = x - y; System.out.println(result) } }
Main.java:4: error: ';' expected Scanner sc = new Scanner(System.in) ^ Main.java:7: error: ';' expected int y = 200*(n/15) ^ Main.java:10: error: ';' expected System.out.println(result) ^ 3 errors
s541591322
p03795
Java
import java.util.Scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System. in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15); Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
s851092013
p03795
Java
import java.util.scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System. in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15); Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.scanner ^ 1 error
s759355150
p03795
Java
import java.util.scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System. in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15) Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.scanner ^ Main.java:10: error: ';' expected int y = 200*(n/15) ^ 2 errors
s240559164
p03795
Java
import java.util.scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(Sytem.in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15); Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.scanner ^ 1 error
s678844829
p03795
Java
import java.util.scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(Sytem.in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15) Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.util.scanner ^ Main.java:10: error: ';' expected int y = 200*(n/15) ^ 2 errors
s946588421
p03795
Java
import java.utl.scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(Sytem.in); int n = sc.nextInt(); int x = 800*n; int y = 200*(n/15) Sytem.out.println(x-y); } }
Main.java:1: error: ';' expected import java.utl.scanner ^ Main.java:10: error: ';' expected int y = 200*(n/15) ^ 2 errors
s511481994
p03795
C++
#include<bits/stdc++.h> int main(){ int N; cin >> N; cout << (800*N)-(200*(N%15)) << endl; return 0; }
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 >> N; | ^~~ | 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 << (800*N)-(200*(N%15)) << 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:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 6 | cout << (800*N)-(200*(N%15)) << 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) | ^~~~
s655688119
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; int count = 0; while (N > 0) { // 2で割り切れなければループを抜ける if (N % 15 > 0) { break; } if( N % 15 == 0){ count++; } cout <<(N*800)-(200*count) << endl; }
a.cc: In function 'int main()': a.cc:18:2: error: expected '}' at end of input 18 | } | ^ a.cc:4:12: note: to match this '{' 4 | int main() { | ^
s799991393
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; int count = 0; while (N > 0) { // 2で割り切れなければループを抜ける if (N % 15 > 0) { break; } if( n % 15 == 0){ count++; } cout <<(N*800)-(200*count) << endl; }
a.cc: In function 'int main()': a.cc:14:9: error: 'n' was not declared in this scope 14 | if( n % 15 == 0){ | ^ a.cc:18:2: error: expected '}' at end of input 18 | } | ^ a.cc:4:12: note: to match this '{' 4 | int main() { | ^
s076346957
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; int count = 0; while (N > 0) { // 2で割り切れなければループを抜ける if (N % 15 > 0) { break; } if( n % 15 == 0); count++; } cout <<(N*800)-(200*count) << endl; }
a.cc: In function 'int main()': a.cc:14:9: error: 'n' was not declared in this scope 14 | if( n % 15 == 0); | ^
s071338865
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; int count = 0; while (N > 0) { // 2で割り切れなければループを抜ける if (N % 15 > 0) { break; } n % 15 == 0; count++; } cout <<(N*800)-(200*count) << endl; }
a.cc: In function 'int main()': a.cc:14:6: error: 'n' was not declared in this scope 14 | n % 15 == 0; | ^
s473824291
p03795
C++
#include <bits/stdc++.h> using namespace std; int main(){ int x; cin >> x; cout << 800 * n - n / 15 * 200 << endl; return 0; }
a.cc: In function 'int main()': a.cc:7:17: error: 'n' was not declared in this scope 7 | cout << 800 * n - n / 15 * 200 << endl; | ^
s303330606
p03795
C++
#include <iostream> using namespace std; int main(void) { int N cin >> N; cout << (800*N - 200*(N/15)) << endl; return 0; }
a.cc: In function 'int main()': a.cc:8:3: error: expected initializer before 'cin' 8 | cin >> N; | ^~~ a.cc:10:16: error: 'N' was not declared in this scope 10 | cout << (800*N - 200*(N/15)) << endl; | ^
s534744587
p03795
C++
#include <iostream> #include <vector> #include <map> #include <queue> #include <string> #include <algorithm> #include <cmath> #include <climits> #define REP(i, n) for(int i=0; i<(n); i++) #define FOR(i, a, n) for(int i=(a); i<(n); i++) using namespace std; int main(){ int N; cin>>N; cout << 800*N-*N/15*200 << endl; return 0; }
a.cc: In function 'int main()': a.cc:16:19: error: invalid type argument of unary '*' (have 'int') 16 | cout << 800*N-*N/15*200 << endl; | ^~
s289154940
p03795
C++
#include <bits/stdc++.h> using namespace std; int main() { int a; cin>>a; b=(a-a%15)/15; cout<<800*a-200*b<<endl; }
a.cc: In function 'int main()': a.cc:7:5: error: 'b' was not declared in this scope 7 | b=(a-a%15)/15; | ^
s045698104
p03795
C++
#include<iostream> using namespace std; int main(){ int n; cin>n; int m=n/15; cout<<n*800-m*200<<endl; }
a.cc: In function 'int main()': a.cc:7:4: error: no match for 'operator>' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'int') 7 | cin>n; | ~~~^~ | | | | | int | std::istream {aka std::basic_istream<char>} a.cc:7:4: note: candidate: 'operator>(int, int)' (built-in) 7 | cin>n; | ~~~^~ a.cc:7:4: note: no known conversion for argument 1 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int' In file included from /usr/include/c++/14/string:48, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/bits/stl_iterator.h:462:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)' 462 | operator>(const reverse_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:462:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>' 7 | cin>n; | ^ /usr/include/c++/14/bits/stl_iterator.h:507:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)' 507 | operator>(const reverse_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:507:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::reverse_iterator<_Iterator>' 7 | cin>n; | ^ /usr/include/c++/14/bits/stl_iterator.h:1714:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)' 1714 | operator>(const move_iterator<_IteratorL>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1714:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>' 7 | cin>n; | ^ /usr/include/c++/14/bits/stl_iterator.h:1774:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)' 1774 | operator>(const move_iterator<_Iterator>& __x, | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator.h:1774:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::move_iterator<_IteratorL>' 7 | cin>n; | ^ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:1058:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)' 1058 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1058:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::pair<_T1, _T2>' 7 | cin>n; | ^ In file included from /usr/include/c++/14/bits/basic_string.h:47, from /usr/include/c++/14/string:54: /usr/include/c++/14/string_view:695:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator>(basic_string_view<_CharT, _Traits>, basic_string_view<_CharT, _Traits>)' 695 | operator> (basic_string_view<_CharT, _Traits> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:695:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::basic_istream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>' 7 | cin>n; | ^ /usr/include/c++/14/string_view:702:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator>(basic_string_view<_CharT, _Traits>, __type_identity_t<basic_string_view<_CharT, _Traits> >)' 702 | operator> (basic_string_view<_CharT, _Traits> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:702:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::basic_istream<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>' 7 | cin>n; | ^ /usr/include/c++/14/string_view:710:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator>(__type_identity_t<basic_string_view<_CharT, _Traits> >, basic_string_view<_CharT, _Traits>)' 710 | operator> (__type_identity_t<basic_string_view<_CharT, _Traits>> __x, | ^~~~~~~~ /usr/include/c++/14/string_view:710:5: note: template argument deduction/substitution failed: a.cc:7:5: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int' 7 | cin>n; | ^ /usr/include/c++/14/bits/basic_string.h:3915:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 3915 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3915:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' 7 | cin>n; | ^ /usr/include/c++/14/bits/basic_string.h:3929:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)' 3929 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3929:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' 7 | cin>n; | ^ /usr/include/c++/14/bits/basic_string.h:3942:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 3942 | operator>(const _CharT* __lhs, | ^~~~~~~~ /usr/include/c++/14/bits/basic_string.h:3942:5: note: template argument deduction/substitution failed: a.cc:7:5: note: mismatched types 'const _CharT*' and 'std::basic_istream<char>' 7 | cin>n; | ^ In file included from /usr/include/c++/14/bits/memory_resource.h:47, from /usr/include/c++/14/string:68: /usr/include/c++/14/tuple:2619:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_UTypes ...>&, const tuple<_Elements ...>&)' 2619 | operator>(const tuple<_TElements...>& __t, | ^~~~~~~~ /usr/include/c++/14/tuple:2619:5: note: template argument deduction/substitution failed: a.cc:7:5: note: 'std::istream' {aka 'std::basic_istream<char>'} is not derived from 'const std::tuple<_UTypes ...>' 7 | cin>n; | ^
s631046229
p03795
C++
#include<iostream> using namespace std; int n; cin>n; int main(){ int m=n/15; cout<<n*800-m*200<<endl; }
a.cc:5:1: error: 'cin' does not name a type 5 | cin>n; | ^~~
s178025044
p03795
C++
#include<stdio.h> int main() { int N, a; scanf("%d", &N); a = N % 15 printf("%d", 800*N-200*a); return 0; }
a.cc: In function 'int main()': a.cc:7:19: error: expected ';' before 'printf' 7 | a = N % 15 | ^ | ; 8 | 9 | printf("%d", 800*N-200*a); | ~~~~~~
s166316495
p03795
C
#include <iostream> using namespace std; int main() { int n,ans,tot; cin >> n; ans=n/15; ans=ans*200; tot=n*800; cout << tot-ans << endl; return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s576178866
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; final int price = 800; final int bonas = 200; int x,y; x = N * price; y = ( (N - N % 15) / 15 ) * bonas; int ans = x - y; cout << ans << endl; }
a.cc: In function 'int main()': a.cc:7:5: error: 'final' was not declared in this scope 7 | final int price = 800; | ^~~~~ a.cc:8:10: error: expected ';' before 'int' 8 | final int bonas = 200; | ^~~~ | ; a.cc:10:13: error: 'price' was not declared in this scope 10 | x = N * price; | ^~~~~ a.cc:11:33: error: 'bonas' was not declared in this scope 11 | y = ( (N - N % 15) / 15 ) * bonas; | ^~~~~
s016384326
p03795
C++
read N; echo $[N*800-N/15*200]
a.cc:1:1: error: 'read' does not name a type 1 | read N; echo $[N*800-N/15*200] | ^~~~ a.cc:1:9: error: 'echo' does not name a type 1 | read N; echo $[N*800-N/15*200] | ^~~~
s203012154
p03795
C++
#include <iostream> #include <cstring> using namespace std; int main() { int power=1; int tnum; cin>>tnum; for (int i = 1; i <tnum+1 ; i++) { power=power*tnum; } cout<<(power)/10^9+7; }
a.cc: In function 'int main()': a.cc:14:20: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int') 14 | cout<<(power)/10^9+7; | ~~~~~~~~~~~~~~~~^~~~ | | | | | int | std::basic_ostream<char> a.cc:14:20: note: candidate: 'operator^(int, int)' (built-in) 14 | cout<<(power)/10^9+7; | ~~~~~~~~~~~~~~~~^~~~ a.cc:14:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'int' In file included from /usr/include/c++/14/bits/memory_resource.h:38, from /usr/include/c++/14/string:68, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/cstddef:146:3: note: candidate: 'constexpr std::byte std::operator^(byte, byte)' 146 | operator^(byte __l, byte __r) noexcept | ^~~~~~~~ /usr/include/c++/14/cstddef:146:18: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::byte' 146 | operator^(byte __l, byte __r) noexcept | ~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:94:3: note: candidate: 'constexpr std::_Ios_Fmtflags std::operator^(_Ios_Fmtflags, _Ios_Fmtflags)' 94 | operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:94:27: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Fmtflags' 94 | operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:144:3: note: candidate: 'constexpr std::_Ios_Openmode std::operator^(_Ios_Openmode, _Ios_Openmode)' 144 | operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:144:27: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Openmode' 144 | operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:191:3: note: candidate: 'constexpr std::_Ios_Iostate std::operator^(_Ios_Iostate, _Ios_Iostate)' 191 | operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:191:26: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Iostate' 191 | operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~^~~
s411882884
p03795
C++
#include <iostream> #include <cstring> using namespace std; int main() { int power=1; int tnum; cin>>tnum; for (int i = 1; i <tnum+1 ; i++) { power=power*tnum; } cout<<(power)/10^9+7; }
a.cc: In function 'int main()': a.cc:14:20: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int') 14 | cout<<(power)/10^9+7; | ~~~~~~~~~~~~~~~~^~~~ | | | | | int | std::basic_ostream<char> a.cc:14:20: note: candidate: 'operator^(int, int)' (built-in) 14 | cout<<(power)/10^9+7; | ~~~~~~~~~~~~~~~~^~~~ a.cc:14:20: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'int' In file included from /usr/include/c++/14/bits/memory_resource.h:38, from /usr/include/c++/14/string:68, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/cstddef:146:3: note: candidate: 'constexpr std::byte std::operator^(byte, byte)' 146 | operator^(byte __l, byte __r) noexcept | ^~~~~~~~ /usr/include/c++/14/cstddef:146:18: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::byte' 146 | operator^(byte __l, byte __r) noexcept | ~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:94:3: note: candidate: 'constexpr std::_Ios_Fmtflags std::operator^(_Ios_Fmtflags, _Ios_Fmtflags)' 94 | operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:94:27: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Fmtflags' 94 | operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:144:3: note: candidate: 'constexpr std::_Ios_Openmode std::operator^(_Ios_Openmode, _Ios_Openmode)' 144 | operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:144:27: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Openmode' 144 | operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~~^~~ /usr/include/c++/14/bits/ios_base.h:191:3: note: candidate: 'constexpr std::_Ios_Iostate std::operator^(_Ios_Iostate, _Ios_Iostate)' 191 | operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW | ^~~~~~~~ /usr/include/c++/14/bits/ios_base.h:191:26: note: no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Iostate' 191 | operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW | ~~~~~~~~~~~~~^~~
s687647092
p03795
C
#include<stdio.h> int main(void) { int n,x,y; scanf("%d",&n); x = n * 800; y = n % 15 * 200; prientf("%d",x-y); return 0; }
main.c: In function 'main': main.c:13:1: error: implicit declaration of function 'prientf'; did you mean 'printf'? [-Wimplicit-function-declaration] 13 | prientf("%d",x-y); | ^~~~~~~ | printf
s534682429
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; int d=N/15; cout << N*800 - d*200
a.cc: In function 'int main()': a.cc:8:24: error: expected ';' at end of input 8 | cout << N*800 - d*200 | ^ | ; a.cc:8:24: error: expected '}' at end of input a.cc:4:11: note: to match this '{' 4 | int main(){ | ^
s303027822
p03795
C++
#include<bits/stdc++.h> using namespace std; int main(){ int N,ans,coupon; cin >> N; coupon = N%15 ans = 800*N - 200*coupon; cout << ans <<endl; return 0; }
a.cc: In function 'int main()': a.cc:7:16: error: expected ';' before 'ans' 7 | coupon = N%15 | ^ | ; 8 | ans = 800*N - 200*coupon; | ~~~
s645004172
p03795
C++
def restaurant(N: int) -> int: x = 800 * N y = 200 * (N // 15) return x - y if __name__ == "__main__": N = int(input()) ans = restaurant(N) print(ans)
a.cc:1:1: error: 'def' does not name a type 1 | def restaurant(N: int) -> int: | ^~~
s002894345
p03795
C
#include<stdio.h> int main(void){ int N; scanf("%d",&N); int x=N*800; int y=N/15 printf("%d\n",x-y); return 0; }
main.c: In function 'main': main.c:7:3: error: expected ',' or ';' before 'printf' 7 | printf("%d\n",x-y); | ^~~~~~
s169631252
p03795
C++
#include<bits.stdc++.h> using namespace std; int main(void){ int N,x,y; cin>>N; x=N*800; y=N%15*200; cout<<x-y<<endl; return 0; }
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory 1 | #include<bits.stdc++.h> | ^~~~~~~~~~~~~~~ compilation terminated.