Compile Error
/in/foo.c: In function 'main': /in/foo.c:7:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration] scanf_s("%d",&n); ^ /in/foo.c:15:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d",sum); ^ /tmp/ccGvFII1.o: In function `main': foo.c:(.text.startup+0x11): undefined reference to `scanf_s' collect2: error: ld returned 1 exit status
信息
- 递交者
- 类型
- 递交
- 题目
- P1036 运算
- 比赛
- 2019XJU软件实验室大一考核
- 语言
- C
- 递交时间
- 2019-11-23 13:24:50
- 评测时间
- 2019-11-23 13:24:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes