Submission #21618

#TimeUsernameProblemLanguageResultExecution timeMemory
21618nona1314scanf 함수 2 (BSC_0_4)C++11
100 / 100
0 ms1116 KiB
#include <stdio.h> int main() { int a; scanf("%d",&a); printf("%03d",a); }

Compilation message (stderr)

scanf2.cpp: In function 'int main()':
scanf2.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...