제출 #1170535

#제출 시각아이디문제언어결과실행 시간메모리
1170535Trn115if-else 문 1 (BSC_0_8)C++20
100 / 100
0 ms396 KiB
#include <bits/stdc++.h>

#define int long long
#define fi first
#define se second
#define all(v) v.begin(), v.end()

using namespace std;

constexpr int N = 2e5 + 5;
constexpr int MOD = 1e9 + 7;
constexpr int inf = 1e18;

signed main() {
    cin.tie(0)->sync_with_stdio(0);

    int x; cin >> x;
    if (x == 0) {
        cout << "zero";
    } else {
        cout << "nonzero";
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...