在Dev c++上可以运行,但在PTA上编译错误

问题如图:

img

img

img


向各位大佬问一下,到底是哪错了?

提示main定义重复,会不会让你写的是个函数

scanf改成scanf_s即可