#include<stdio.h>int main(){int a;scanf("%d",&a);printf("%d",a);return 0;}
是不是没放在源文件中
scanf改成scanf_s试试