/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 3ms 1.277 MiB
#2 Accepted 3ms 1.258 MiB
#3 Accepted 3ms 1.273 MiB
#4 Accepted 3ms 1.152 MiB

Code

#include<bits/stdc++.h>
using namespace std;
const long long M=200010,MOD=1e9;


int32_t main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    vector<int>fre(2e5+1,1e9);
    int t=1;
    //cin>>t;
    while(t--){
        int n;
        cin>>n;
        cout<<(n+2)/3<<"\n";
    }
       

   
   return 0;
 
}

Information

Submit By
Type
Submission
Problem
P1106 too easy or three easy
Language
C++20 (G++ 13.2.0)
Submit At
2024-10-02 21:34:19
Judged At
2024-12-17 11:27:16
Judged By
Score
100
Total Time
3ms
Peak Memory
1.277 MiB