/ 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:54: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:54:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:54:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:55:15: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void flush () { fwrite (obuf, 1, oS - obuf, stdout); oS = obuf; }
               ^
foo.cc:55:15: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:55:15: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:56:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void putc (char x) { *oS ++ = x; if (oS == oT) flush (); }
                    ^
foo.cc:56:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:56:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:57:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void read(T &x) {
                                    ^
foo.cc:57:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:57:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:65: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:65:60: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:65:60: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:66:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   template <class T> void write(T x) {
                                    ^
foo.cc:66:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:66:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:74: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:74:59: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:74:59: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:75:14: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void space() { putc(' '); }
              ^
foo.cc:75:14: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:75:14: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:76:13: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   void endl() { putc('\n'); }
             ^
foo.cc:76:13: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:76:13: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:77:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   struct _f {~_f() { flush(); }} __f;
                  ^
foo.cc:77:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:77:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:83:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void add(int x,int y){
                            ^
foo.cc:83:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:83:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:86:28: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 inline void md(int &x,int y){
                            ^
foo.cc:86:28: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:86:28: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:90:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void dfs(int i,int la){
                      ^
foo.cc:90:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:90:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:118:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int main(){
          ^
foo.cc:118:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:118: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 19ms 5.434 MiB
#6 Accepted 32ms 12.434 MiB
#7 Accepted 30ms 4.676 MiB
#8 Time Exceeded ≥1044ms ≥54.129 MiB
#9 Time Exceeded ≥1063ms ≥49.531 MiB
#10 Accepted 573ms 51.859 MiB

信息

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