Submission #65852246


Source Code Expand

#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define debug(x) cerr << (#x) << " " << (x) << endl
#define SZ(s) ((int)s.size())
#define pb push_back
#define ff first
#define ss second
#define int long long
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;

const int MOD = 998244353;
const int N = 1e5 + 100;
const int MASSIVE = 1e18;

void solve(int test_case) {
    int a, b, c, d;
    cin >> a >> b >> c >> d;
    cout << (a > c || (a == c && b >= d) ? "Yes" : "No"); 
}

signed main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    int t = 1;
    // cin >> t;
    for (int i = 1; i <= t; i++) {
        solve(i);
        // cout << "\n";
        // cerr << "_________________________________________\n";
    }
    return 0;
}

Submission Info

Submission Time
Task A - Not Acceptable
User batman3737
Language C++ 20 (gcc 12.2)
Score 100
Code Size 847 Byte
Status AC
Exec Time 11 ms
Memory 3576 KiB

Compile Error

Main.cpp: In function ‘void solve(long long int)’:
Main.cpp:18:16: warning: unused parameter ‘test_case’ [-Wunused-parameter]
   18 | void solve(int test_case) {
      |                ^

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 24
Set Name Test Cases
Sample example_00.txt, example_01.txt, example_02.txt
All example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt
Case Name Status Exec Time Memory
example_00.txt AC 11 ms 3508 KiB
example_01.txt AC 1 ms 3432 KiB
example_02.txt AC 1 ms 3492 KiB
hand_00.txt AC 1 ms 3572 KiB
hand_01.txt AC 1 ms 3512 KiB
hand_02.txt AC 1 ms 3444 KiB
hand_03.txt AC 1 ms 3492 KiB
hand_04.txt AC 1 ms 3492 KiB
hand_05.txt AC 1 ms 3420 KiB
random_00.txt AC 1 ms 3500 KiB
random_01.txt AC 1 ms 3576 KiB
random_02.txt AC 1 ms 3488 KiB
random_03.txt AC 1 ms 3480 KiB
random_04.txt AC 1 ms 3396 KiB
random_05.txt AC 1 ms 3380 KiB
random_06.txt AC 1 ms 3504 KiB
random_07.txt AC 1 ms 3560 KiB
random_08.txt AC 1 ms 3504 KiB
random_09.txt AC 1 ms 3504 KiB
random_10.txt AC 1 ms 3404 KiB
random_11.txt AC 1 ms 3496 KiB
random_12.txt AC 1 ms 3452 KiB
random_13.txt AC 1 ms 3572 KiB
random_14.txt AC 1 ms 3516 KiB