/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:109: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat=]
  for (int i = 0; scanf("%s %d %d %d %d %d", &stu[i].a, &stu[i].b, &stu[i].c, &stu[i].d, &stu[i].e, &stu[i].f) != EOF;) {
                                             ~~~~~~~~~                                                       ^
foo.cc:9:6: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
  int temp;
      ^~~~
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read Y, expect YDCmkIYBPOy. 0ms 256.0 KiB
#2 Wrong Answer Read N, expect IXrLPdJhEekBRgsbkqI. 0ms 256.0 KiB
#3 Wrong Answer Read N, expect LyFr. 0ms 256.0 KiB
#4 Wrong Answer Read N, expect HHeXOMfgB. 0ms 256.0 KiB
#5 Wrong Answer Read N, expect IlB. 0ms 256.0 KiB
#6 Wrong Answer Read Y, expect DGMqW. 0ms 256.0 KiB
#7 Wrong Answer Read Y, expect F. 0ms 256.0 KiB
#8 Wrong Answer Read N, expect YBqilxkGZJx. 0ms 256.0 KiB
#9 Wrong Answer Read N, expect RaC. 0ms 256.0 KiB
#10 Wrong Answer Read Y, expect WtEEnIDxjkneYioJpF. 0ms 256.0 KiB

信息

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