/ SeriousOJ /

Record Detail

Compile Error

foo.c:2:9: fatal error: bits/stdc++.h: No such file or directory
    2 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.

Code

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

#define mxx 200005
#define ll long long
#define answ ((out)?"YES":"NO")
#define endl '\n'


void solve(int tc){
    int n;
    cin>>n;
    int out=n/3;
    if(n%3){
        out++;
    }
    cout<<out<<endl;
}


void sub_run(){
    #ifndef ONLINE_JUDGE
    freopen("inp.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
    #endif // ONLINE_JUDGE
}
 
int main(){
    //ios_base::sync_with_stdio(false);
    //cin.tie(NULL);
 
    int t=1;
    // sub_run();
    // cin>>t;
    for(int i=1;i<=t;i++)solve(i);
}

Information

Submit By
Type
Submission
Problem
P1106 too easy or three easy
Contest
Brain Booster #6
Language
C99 (GCC 13.2.0)
Submit At
2024-10-03 15:33:32
Judged At
2024-10-03 15:33:32
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes