/ SeriousOJ /

Record Detail

Compile Error

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

Code


#include <bits/stdc++.h>

#define int long long
#define fi first
#define se second

#define sz(a) int((a).size())
#define all(a) (a).begin(), (a).end()

#define lsb(x) (x & (-x))
#define vi vector<int>
#define YES { cout << "YES" << endl; return; }
#define NO { cout << "NO" << endl; return; }

using ll = long long;
using pii = std::pair<int, int>;

using namespace std;

void solve_testcase() {
    string s;
    cin >> s;
    cout << s[0] << '\n';
}
signed main() {
    cin.tie(nullptr)->sync_with_stdio(false);
    int t = 1;
    cin >> t;
    while (t--)
        solve_testcase();
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1080 String Algorithm
Language
C99 (GCC 13.2.0)
Submit At
2024-09-05 01:02:06
Judged At
2024-11-11 03:04:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes