Submission #23482

#TimeUsernameProblemLanguageResultExecution timeMemory
23482TAMREFif-else 문 1 (BSC_0_8)C++11
100 / 100
0 ms1116 KiB
#include <cstdio> int main(){ int n; scanf("%d",&n); puts(n?"nonzero":"zero"); }

Compilation message (stderr)

if1.cpp: In function 'int main()':
if1.cpp:3:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   int n; scanf("%d",&n); puts(n?"nonzero":"zero");
                        ^
#Verdict Execution timeMemoryGrader output
Fetching results...