Submission #1249050

#TimeUsernameProblemLanguageResultExecution timeMemory
1249050exoworldgdif-else 문 1 (BSC_0_8)C++20
Compilation error
0 ms0 KiB
#pragma GCC optimize("O5") #pragma GCC target("avx2,bmi,bmi2,popcnt,lzcnt") #include <bits/stdc++.h> #define int long long #define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0) using namespace std; signed main(void) { exoworldgd; int n; cin >> n; cout << (!n ? "zero" : "nonzero") }

Compilation message (stderr)

if1.cpp: In function 'int main()':
if1.cpp:11:38: error: expected ';' before '}' token
   11 |     cout << (!n ? "zero" : "nonzero")
      |                                      ^
      |                                      ;
   12 | }
      | ~