/ 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:55: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:55:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:55:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:56:15: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void flush () { fwrite (obuf, 1, oS - obuf, stdout); oS = obuf; }
               ^
foo.cc:56:15: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:56:15: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:57:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void putc (char x) { *oS ++ = x; if (oS == oT) flush (); }
                    ^
foo.cc:57:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:57:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:58:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void read(T &x) {
                                    ^
foo.cc:58:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:58:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:66: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:66:60: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:66:60: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:67:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void write(T x) {
                                    ^
foo.cc:67:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:67:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:75: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:75:59: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:75:59: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:76:14: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void space() { putc(' '); }
              ^
foo.cc:76:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:76:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:77:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void endl() { putc('\n'); }
             ^
foo.cc:77:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:77:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:78:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   struct _f {~_f() { flush(); }} __f;
                  ^
foo.cc:78:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:78:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:84:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void add(int x,int y){
                            ^
foo.cc:84:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:84:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:87:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void md(int &x,int y){
                            ^
foo.cc:87:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:87:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:91:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void dfs(int i,int la){
                      ^
foo.cc:91:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:91: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 1ms 512.0 KiB
#4 Accepted 2ms 768.0 KiB
#5 Accepted 23ms 5.316 MiB
#6 Accepted 34ms 12.477 MiB
#7 Accepted 31ms 4.688 MiB
#8 Time Exceeded ≥1038ms ≥54.133 MiB
#9 Time Exceeded ≥1032ms ≥49.531 MiB
#10 Accepted 555ms 52.672 MiB

信息

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