记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:43:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |  for (int i = 0; i < segs.size(); i++) {
      |                  ~~^~~~~~~~~~~~~
foo.cc:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   33 |  scanf("%d%d", &L, &n);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:38:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |   scanf("%d%d", &l, &r);
      |   ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 11ms 768.0 KiB
#12 Accepted 22ms 1020.0 KiB
#13 Accepted 19ms 1020.0 KiB
#14 Accepted 25ms 1.492 MiB
#15 Accepted 16ms 1020.0 KiB
#16 Accepted 35ms 1.492 MiB
#17 Accepted 32ms 1.492 MiB
#18 Accepted 32ms 1.492 MiB
#19 Accepted 48ms 1.492 MiB
#20 Accepted 34ms 1.492 MiB

信息

递交者
类型
递交
题目
P1365 6B 校门外的树
比赛
悬赏令第六周
语言
C++
递交时间
2022-05-06 18:17:05
评测时间
2022-05-06 18:17:05
评测机
分数
100
总耗时
303ms
峰值内存
1.492 MiB