/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'void toposort()':
foo.cc:33:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |   for (int i = 0; i < G[tmp].size(); i++)
      |                   ~~^~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:47:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   47 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
foo.cc:50:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   50 |   scanf("%d",&m);
      |   ~~~~~^~~~~~~~~
foo.cc:56:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   56 |    scanf("%d%d", &a, &b);
      |    ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1104ms ≥65.277 MiB
#2 Time Exceeded ≥1105ms ≥65.277 MiB
#3 Time Exceeded ≥1108ms ≥86.211 MiB
#4 Time Exceeded ≥1109ms ≥101.711 MiB
#5 Time Exceeded ≥1105ms ≥65.277 MiB
#6 Time Exceeded ≥1077ms ≥83.965 MiB
#7 Time Exceeded ≥1105ms ≥129.461 MiB
#8 Runtime Error Segmentation fault 4ms 1.25 MiB
#9 Runtime Error Segmentation fault 3ms 1.25 MiB
#10 Runtime Error Segmentation fault 3ms 1.25 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2022-03-18 20:21:18
评测时间
2022-03-18 20:21:18
评测机
分数
0
总耗时
7727ms
峰值内存
129.461 MiB