/ StarOI /

记录详情

Accepted

/in/foo.cc: In function 'void add_edge(int, int, int)':
/in/foo.cc:19:49: warning: narrowing conversion of 'G[to].std::vector<edge>::size()' from 'std::vector<edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
     G[from].push_back((edge){to, cap, G[to].size()});
                                       ~~~~~~~~~~^~
/in/foo.cc:20:51: warning: narrowing conversion of '(G[from].std::vector<edge>::size() - 1)' from 'std::vector<edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
     G[to].push_back((edge){from, 0, G[from].size()-1});
                                     ~~~~~~~~~~~~~~^~
/in/foo.cc: In function 'void bfs(int)':
/in/foo.cc:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i = 0; i < G[v].size(); i++)
                        ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int dfs(int, int, int)':
/in/foo.cc:47:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int &i = iter[u]; i < G[u].size(); i++)
                           ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 332.0 KiB
#2 Accepted 4ms 576.0 KiB
#3 Accepted 3ms 444.0 KiB
#4 Accepted 2ms 464.0 KiB
#5 Accepted 2ms 444.0 KiB
#6 Accepted 3ms 444.0 KiB
#7 Accepted 2ms 332.0 KiB
#8 Accepted 3ms 576.0 KiB
#9 Accepted 2ms 316.0 KiB
#10 Accepted 3ms 592.0 KiB

信息

递交者
类型
递交
题目
卫宫家今天的饭
语言
C++
递交时间
2018-12-09 23:53:13
评测时间
2018-12-10 00:12:16
评测机
分数
100
总耗时
29ms
峰值内存
592.0 KiB