Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:17: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%ld", &n);
                 ^
/in/foo.cc:20:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
  printf("%ld", sum);
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 1ms 404.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 4ms 408.0 KiB

信息

递交者
类型
递交
题目
P1027 A3-3 素数专题:素数个数
语言
C++
递交时间
2024-06-07 14:10:26
评测时间
2024-06-07 14:10:26
评测机
分数
100
总耗时
12ms
峰值内存
408.0 KiB