Submission #1355031

#TimeUsernameProblemLanguageResultExecution timeMemory
1355031rokijadesmokiArea (NOI23_area)C++20
100 / 100
0 ms344 KiB
#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    int n;
    cin >> n;

    int max_size = 0;
    while (n--) {
        int h, w;
        cin >> h >> w;
        max_size = max(max_size, h * w);
    }

    cout << max_size;
    return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...