/ JoyAc /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:17:19: warning: unused variable 'num' [-Wunused-variable]
  int sum = 0; int num = 0;
                   ^~~
foo.c:19:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ^~~~~~~~~~~~~~~
foo.c:24:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%s %d %d %c %c %d",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
    student[i].name,
    ~~~~~~~~~~~~~~~~
    &(student[i].grade),
    ~~~~~~~~~~~~~~~~~~~~
    &(student[i].gradeclass),
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    &(student[i].ganbu),
    ~~~~~~~~~~~~~~~~~~~~
    &(student[i].xibu),
    ~~~~~~~~~~~~~~~~~~~
    &(student[i].paper));
    ~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 326800, expect 332750. 0ms 256.0 KiB
#2 Wrong Answer Read 309950, expect 315050. 0ms 256.0 KiB
#3 Wrong Answer Read 371400, expect 376500. 0ms 256.0 KiB
#4 Wrong Answer Read 304400, expect 311200. 0ms 256.0 KiB
#5 Wrong Answer Read 312400, expect 320050. 0ms 256.0 KiB
#6 Wrong Answer Read 338800, expect 350700. 0ms 256.0 KiB
#7 Wrong Answer Read 316150, expect 324650. 0ms 256.0 KiB
#8 Wrong Answer Read 358500, expect 366150. 0ms 256.0 KiB
#9 Wrong Answer Read 240250, expect 249600. 0ms 256.0 KiB
#10 Wrong Answer Read 345100, expect 351900. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C
递交时间
2021-11-29 18:58:11
评测时间
2021-11-29 18:58:11
评测机
分数
0
总耗时
8ms
峰值内存
256.0 KiB