Submission #717837

#TimeUsernameProblemLanguageResultExecution timeMemory
717837EntityPlanttscanf 함수 2 (BSC_0_4)C++14
0 / 100
1 ms212 KiB
#include<cstdio> main(){int x;scanf("%d",&x);printf("%05d",x);}

Compilation message (stderr)

scanf2.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int x;scanf("%d",&x);printf("%05d",x);}
      | ^~~~
scanf2.cpp: In function 'int main()':
scanf2.cpp:2:19: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
    2 | main(){int x;scanf("%d",&x);printf("%05d",x);}
      |              ~~~~~^~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...