Source Code
#include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define sz(x) (int)(x).size()
#define all(x) x.begin(), x.end()

int main() {
    IOS;
    int n;cin>>n;
    string s;cin>>s;
    cout<<(n+1)/2;

}
Copy
Pop Pop BE-NASL
GNU G++17
1 ms
412 KB
Wrong Answer