Submission #21154

#TimeUsernameProblemLanguageResultExecution timeMemory
21154jaycekingif-else 문 1 (BSC_0_8)C++14
100 / 100
0 ms1116 KiB
#include<cstdio> int main() { int t1; scanf("%d", &t1); printf("%szero", t1 ? "non" : ""); }

Compilation message (stderr)

if1.cpp: In function 'int main()':
if1.cpp:5:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &t1);
                  ^

#Verdict Execution timeMemoryGrader output
Fetching results...