记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:44:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   44 |         scanf("%d",&n);
      |                ~^  ~~
      |                 |  |
      |                 |  long long int *
      |                 int *
      |                %lld
foo.c:59:13: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   59 |         int arr0[sum];
      |             ^~~~
foo.c:46:13: note: 'sum' was declared here
   46 |         int sum;
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 204.0 KiB
#2 Accepted 3ms 284.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 284.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 284.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 284.0 KiB

信息

递交者
类型
递交
题目
5-5 统计素数因子
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 18:36:44
评测时间
2023-10-01 18:36:44
评测机
分数
40
总耗时
18ms
峰值内存
284.0 KiB