记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:9:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  for(int i=2;i<=n;i++) scanf("%d",&f[i]);
      |                        ~~~~~^~~~~~~~~~~~
foo.cc:10:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |  for(int i=1;i<=n;i++) scanf("%d",&c[i]);
      |                        ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 1.125 MiB
#2 Accepted 7ms 1.125 MiB
#3 Accepted 3ms 1.125 MiB
#4 Accepted 3ms 1.125 MiB
#5 Accepted 3ms 1.125 MiB
#6 Accepted 4ms 1.125 MiB
#7 Accepted 3ms 1.125 MiB
#8 Accepted 5ms 1.125 MiB
#9 Accepted 5ms 1.125 MiB
#10 Accepted 3ms 1.125 MiB
#11 Accepted 3ms 1.125 MiB
#12 Accepted 3ms 1.125 MiB
#13 Accepted 5ms 1.125 MiB
#14 Accepted 5ms 1.25 MiB
#15 Accepted 6ms 1.125 MiB
#16 Accepted 24ms 1.242 MiB
#17 Accepted 34ms 1.242 MiB
#18 Accepted 44ms 1.125 MiB
#19 Accepted 51ms 1.125 MiB
#20 Accepted 34ms 1.125 MiB

信息

递交者
类型
递交
题目
P1386 Problem E. 染色
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 14:00:53
评测时间
2022-07-08 14:01:05
评测机
分数
100
总耗时
261ms
峰值内存
1.25 MiB