/ Vijos /

记录详情

Time Exceeded

foo.cc:22:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fwhole-program")
                                       ^
foo.cc:31:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fcse-skip-blocks")
                                         ^
foo.cc:45:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-funsafe-loop-optimizations")
                                                   ^
foo.cc:60:14: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   char getc () { return (iS == iT ? (iT = (iS = ibuf) + fread (ibuf, 1, SIZE, stdin), (iS == iT ? EOF : *iS ++)) : *iS ++); }
              ^
foo.cc:60:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:60:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:61:15: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void flush () { fwrite (obuf, 1, oS - obuf, stdout); oS = obuf; }
               ^
foo.cc:61:15: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:61:15: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:62:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void putc (char x) { *oS ++ = x; if (oS == oT) flush (); }
                    ^
foo.cc:62:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:62:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:63:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void read(T &x) {
                                    ^
foo.cc:63:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:63:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:71:60: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T, class ...A> void read(T &x, A&... args) { read(x); read(args...); }
                                                            ^
foo.cc:71:60: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:71:60: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:72:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void write(T x) {
                                    ^
foo.cc:72:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:72:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:80:59: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T, class ...A> void write(T x, A... args) { write(x); putc(' '); write(args...) ; }
                                                           ^
foo.cc:80:59: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:80:59: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:81:14: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void space() { putc(' '); }
              ^
foo.cc:81:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:81:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:82:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void endl() { putc('\n'); }
             ^
foo.cc:82:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:82:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:83:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   struct _f {~_f() { flush(); }} __f;
                  ^
foo.cc:83:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:83:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:89:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void add(int x,int y){
                            ^
foo.cc:89:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:89:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:92:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void md(int &x,int y){
                            ^
foo.cc:92:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:92:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:96:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void dfs(int i,int la){
                      ^
foo.cc:96:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:96:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:124:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int main(){
          ^
foo.cc:124:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:124:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 768.0 KiB
#5 Accepted 23ms 6.52 MiB
#6 Accepted 33ms 13.59 MiB
#7 Accepted 32ms 5.512 MiB
#8 Time Exceeded ≥1018ms ≥55.02 MiB
#9 Time Exceeded ≥1020ms ≥50.688 MiB
#10 Accepted 572ms 52.246 MiB

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2021-11-09 17:21:06
评测时间
2021-11-09 17:21:06
评测机
分数
80
总耗时
≥2711ms
峰值内存
≥55.02 MiB