제출 #21154

#제출 시각아이디문제언어결과실행 시간메모리
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" : ""); }

컴파일 시 표준 에러 (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...