# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1170535 | Trn115 | if-else 문 1 (BSC_0_8) | C++20 | 0 ms | 396 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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |