/ SeriousOJ /

Record Detail

Compile Error

foo.c:2:10: fatal error: cstdio: No such file or directory
    2 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.

Code


#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include <fstream>
#include <climits>
#include <filesystem>
#include <numeric>
#include <set>

using namespace std;
//CONSTS
#define int long long
static const int N = 10000;

// FUNCTIONS

#define infor(a, n)               \
for (int i = 0; i < n; i++) { \
cin >> a[i];              \
}

int bin_search(const vector<int>& a, int x) {
    auto it = lower_bound(a.begin(), a.end(), x);
    if (it == a.end() || *it != x)
        return -1;
    return it - a.begin();
}


void solution() {
    int n, n1;
    cin >> n >> n1;
    cout << n+n1 << endl;

}

signed main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    // int t;
    // cin >> t;
    // while (t--) {
        solution();
    // }
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1000 A + B
Language
C99 (GCC 13.2.0)
Submit At
2026-01-05 17:25:00
Judged At
2026-01-05 17:25:00
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes