/ 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:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void dfs(int i,int la){
                      ^
foo.cc:92:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:92:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:120:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int main(){
          ^
foo.cc:120:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:120:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 852.0 KiB
#5 Accepted 22ms 6.02 MiB
#6 Accepted 36ms 12.027 MiB
#7 Accepted 43ms 5.289 MiB
#8 Time Exceeded ≥1027ms ≥54.367 MiB
#9 Time Exceeded ≥1098ms ≥49.898 MiB
#10 Accepted 551ms 53.082 MiB

信息

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