/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'info unite(info, info, bool)':
/in/foo.cc:116:32: warning: narrowing conversion of 'id[i]' from 'int' to 'short int' inside { } [-Wnarrowing]
       ans.e[edge_cnt++] = {id[i], id[j], w};
                            ~~~~^
/in/foo.cc:116:39: warning: narrowing conversion of 'id[j]' from 'int' to 'short int' inside { } [-Wnarrowing]
       ans.e[edge_cnt++] = {id[i], id[j], w};
                                   ~~~~^
/in/foo.cc: In function 'int main()':
/in/foo.cc:155:46: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i, i + 1, column[i][j]};
                                              ^
/in/foo.cc:155:29: warning: narrowing conversion of '(i + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i, i + 1, column[i][j]};
                           ~~^~~
/in/foo.cc:158:26: warning: narrowing conversion of '(i + n)' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i + n, i + n + 1, column[i][(j + 1) % m]};
                        ~~^~~
/in/foo.cc:158:37: warning: narrowing conversion of '((i + n) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i + n, i + n + 1, column[i][(j + 1) % m]};
                               ~~~~~~^~~
/in/foo.cc:161:43: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i, i + n, row[i][j]};
                                           ^
/in/foo.cc:161:29: warning: narrowing conversion of '(i + n)' from 'int' to 'short int' inside { } [-Wnarrowing]
       e[edge_cnt++] = {i, i + n, row[i][j]};
                           ~~^~~
# 状态 耗时 内存占用
#1 Accepted 7ms 12.609 MiB
#2 Accepted 940ms 200.562 MiB
#3 Accepted 927ms 200.508 MiB
#4 Accepted 740ms 191.566 MiB
#5 Accepted 785ms 193.559 MiB
#6 Accepted 730ms 194.543 MiB
#7 Accepted 1068ms 192.531 MiB
#8 Accepted 1052ms 203.688 MiB
#9 Accepted 1053ms 195.906 MiB
#10 Accepted 1026ms 202.516 MiB

信息

递交者
类型
递交
题目
P2053 世界地图
比赛
山东省选2019同步赛——第一场
语言
C++
递交时间
2019-05-06 12:40:54
评测时间
2019-05-06 12:40:54
评测机
分数
100
总耗时
8333ms
峰值内存
203.688 MiB