Submission #64725536


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fi first
#define se second
#define pb push_back
#define sz(a) (ll) a.size()
#define all(x) (x).begin(), (x).end()
#define rep(i, a, b) for(ll i=a; i<b; i++)
#define vl vector<ll>
#define vpll vector<pair<ll, ll>>
#define vvl vector<vector<ll>>
#define pll pair<ll, ll>

void f() {
  int s; cin >> s;
  if(200 <= s && s <= 299) cout << "Success";
  else cout << "Failure";
}

int main() {
  int tc = 1;
  // cin >> tc;
  for (int i = 1; i <= tc; i++) {
    // cout << '#' << i << endl;
    f();
    if (i != tc) cout << endl;
  }
}

Submission Info

Submission Time
Task A - Status Code
User veehj
Language C++ 20 (gcc 12.2)
Score 100
Code Size 634 Byte
Status AC
Exec Time 1 ms
Memory 3648 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3432 KiB
00_sample_01.txt AC 1 ms 3648 KiB
00_sample_02.txt AC 1 ms 3508 KiB
01_random_03.txt AC 1 ms 3452 KiB
01_random_04.txt AC 1 ms 3492 KiB
01_random_05.txt AC 1 ms 3504 KiB
01_random_06.txt AC 1 ms 3460 KiB
01_random_07.txt AC 1 ms 3484 KiB
01_random_08.txt AC 1 ms 3568 KiB
01_random_09.txt AC 1 ms 3452 KiB
01_random_10.txt AC 1 ms 3432 KiB