/ Vijos /

记录详情

Accepted

foo.cc: In function 'void Kahn()':
foo.cc:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         for(int i=0;i<edge[cur].size();i++){//vector遍历范式
      |                     ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:30:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:34:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   34 |         scanf("%d%d",&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 3.0 MiB
#2 Accepted 11ms 3.125 MiB
#3 Accepted 4ms 3.0 MiB
#4 Accepted 12ms 3.125 MiB
#5 Accepted 11ms 3.125 MiB
#6 Accepted 11ms 3.25 MiB
#7 Accepted 9ms 3.125 MiB
#8 Accepted 87ms 6.047 MiB
#9 Accepted 97ms 6.988 MiB
#10 Accepted 90ms 6.48 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2022-02-07 18:18:44
评测时间
2022-02-07 18:18:44
评测机
分数
100
总耗时
340ms
峰值内存
6.988 MiB