Accepted
foo.cc: In function 'int main()':
foo.cc:21:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n", a[i]);
                  ~~~~^
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d %d", &n, &m, &p, &q);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1050 疯狂的馒头
 - 语言
 - C++
 - 递交时间
 - 2021-08-12 11:05:59
 - 评测时间
 - 2021-08-12 11:05:59
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 727ms
 - 峰值内存
 - 15.574 MiB