Submission #17602

#TimeUsernameProblemLanguageResultExecution timeMemory
17602Namnamseoscanf 함수 1 (BSC_0_3)C++98
Compilation error
0 ms0 KiB
#import<cstdio> main(a){for(;a=getchar()+1;)putchar(a-1);}

Compilation message (stderr)

scanf1.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
 #import<cstdio>
  ^
scanf1.cpp:2:5: error: expected constructor, destructor, or type conversion before ‘(’ token
 main(a){for(;a=getchar()+1;)putchar(a-1);}
     ^