/ WHOJ /

记录详情

Accepted

foo.cc: In function 'void buildQueue()':
foo.cc:22:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |       scanf("%d%d", &k, &p);
      |       ~~~~~^~~~~~~~~~~~~~~~
foo.cc:34:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   34 |   scanf("%d", &M);
      |   ~~~~~^~~~~~~~~~
foo.cc:37:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |       scanf("%d", &x);
      |       ~~~~~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:48:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   48 |   scanf("%d", &N);
      |   ~~~~~^~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.125 MiB
#2 Accepted 12ms 1.5 MiB
#3 Accepted 3ms 1.125 MiB
#4 Accepted 3ms 1.125 MiB
#5 Accepted 79ms 4.492 MiB

信息

递交者
类型
递交
题目
P1274 队列安排
题目数据
下载
语言
C++
递交时间
2022-07-09 21:14:59
评测时间
2022-07-09 21:14:59
评测机
分数
100
总耗时
101ms
峰值内存
4.492 MiB