记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:14:12: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
    int n = sqrt(m);
            ^~~~
/in/foo.c:14:12: warning: incompatible implicit declaration of built-in function 'sqrt'
/in/foo.c:14:12: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:15:4: warning: statement with no effect [-Wunused-value]
    for (a;a <= n;a++)
    ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Accepted 1ms 260.0 KiB
#3 Accepted 2ms 248.0 KiB
#4 Accepted 2ms 228.0 KiB
#5 Accepted 0ms 248.0 KiB

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 09:44:11
评测时间
2023-10-01 09:44:11
评测机
分数
100
总耗时
7ms
峰值内存
260.0 KiB