제출 #21146

#제출 시각아이디문제언어결과실행 시간메모리
21146jaycekingscanf 함수 1 (BSC_0_3)C++14
100 / 100
0 ms1116 KiB
#include<cstdio> int main() { int a; scanf("%d", &a); printf("%d", a); }

컴파일 시 표준 에러 (stderr) 메시지

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

#Verdict Execution timeMemoryGrader output
Fetching results...