/ Vijos /

记录详情

Accepted

foo.cc: In function 'void srch(int)':
foo.cc:56:11: warning: unused variable 'j' [-Wunused-variable]
   56 |     int i,j;
      |           ^
foo.cc: In function 'int main()':
foo.cc:75:11: warning: unused variable 'j' [-Wunused-variable]
   75 |     int i,j;
      |           ^
foo.cc:76:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   76 |     scanf("%d%d",&n,&k);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:78:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   78 |        scanf("%d%d",&dots[i].x,&dots[i].y);
      |        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:88:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
   88 |     system("pause");
      |     ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 636.0 KiB
#2 Accepted 3ms 520.0 KiB
#3 Accepted 4ms 664.0 KiB
#4 Accepted 2ms 636.0 KiB
#5 Accepted 7ms 636.0 KiB

信息

递交者
类型
递交
题目
P1126 矩形覆盖
语言
C++
递交时间
2022-04-28 09:19:00
评测时间
2022-04-28 09:19:00
评测机
分数
50
总耗时
22ms
峰值内存
664.0 KiB