/ Vijos /

记录详情

Time Exceeded

foo.cc:23:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fwhole-program")
                                       ^
foo.cc:32:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fcse-skip-blocks")
                                         ^
foo.cc:46:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-funsafe-loop-optimizations")
                                                   ^
foo.cc:77:37: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void insert(int x,int y,int z) {
                                     ^
foo.cc:77:37: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:77:37: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:81:38: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void insert2(int x,int y,int z) {
                                      ^
foo.cc:81:38: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:81:38: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:86:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void dfs(int x,int fa) {
                             ^
foo.cc:86:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:86:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:103:40: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void merge(int x,int fa,int mark) {
                                        ^
foo.cc:103:40: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:103:40: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:114:25: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 bool cmp(edge2 a,edge2 b) {
                         ^
foo.cc:114:25: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:114:25: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:117:38: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int dfs2(int x,int fa,int ban,int val) {
                                      ^
foo.cc:117:38: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:117:38: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:133:17: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 bool check(int x) {
                 ^
foo.cc:133:17: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:133:17: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:143:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 __attribute__((optimize("-O3"))) int main() {
                                           ^
foo.cc:143:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:143:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 24ms 23.348 MiB
#2 Accepted 24ms 23.379 MiB
#3 Accepted 25ms 23.336 MiB
#4 Accepted 30ms 23.668 MiB
#5 Accepted 46ms 24.426 MiB
#6 Accepted 77ms 25.492 MiB
#7 Accepted 225ms 28.746 MiB
#8 Accepted 472ms 34.586 MiB
#9 Accepted 880ms 46.352 MiB
#10 Time Exceeded ≥1115ms ≥82.027 MiB

信息

递交者
类型
递交
题目
P1954 越狱老虎桥
语言
C++
递交时间
2021-07-21 08:43:51
评测时间
2021-07-21 08:43:51
评测机
分数
90
总耗时
≥2924ms
峰值内存
≥82.027 MiB