记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:4:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
     scanf("%u",&k);
     ^~~~~
/in/foo.c:4:5: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:4:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:9:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 printf("%u",n);
 ^~~~~~
/in/foo.c:9:1: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:9:1: note: include '<stdio.h>' or provide a declaration of 'printf'
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1000 级数求和
语言
C
递交时间
2024-08-26 15:40:59
评测时间
2024-08-26 15:41:00
评测机
分数
10
总耗时
1ms
峰值内存
228.0 KiB