/ Vijos /

记录详情

Time Exceeded

foo.cc:22:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
   22 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
foo.cc:29:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
   29 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
foo.cc:31:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
   31 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
foo.cc:45:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
   45 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
foo.cc:56:17: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   56 | inline int read() {
      |                 ^
foo.cc:56:17: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:56:17: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:56:17: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   65 | inline void add(int u, int e) { nxt[e] = head[u]; head[u] = e; }
      |                             ^
foo.cc:65:29: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   67 | inline int index(int i, int j) { return (i - 1) * (k + 1) + j; }
      |                              ^
foo.cc:67:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   69 | inline void bag(int *f, int A, int V) {
      |                                     ^
foo.cc:69:37: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   82 | inline void dfsL(int x) {
      |                       ^
foo.cc:82:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   91 | inline void dfsR(int x, int sum) {
      |                                ^
foo.cc:91:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
  105 | int main() {
      |          ^
foo.cc:105:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 215ms 25.492 MiB
#2 Accepted 1827ms 195.191 MiB
#3 Accepted 1984ms 195.117 MiB
#4 Accepted 1660ms 191.867 MiB
#5 Time Exceeded ≥2117ms ≥191.867 MiB
#6 Accepted 209ms 25.492 MiB
#7 Accepted 205ms 25.492 MiB
#8 Accepted 1795ms 195.117 MiB
#9 Accepted 1771ms 195.242 MiB
#10 Time Exceeded ≥2020ms ≥195.242 MiB

信息

递交者
类型
递交
题目
P2020 小Q的苹果树
语言
C++
递交时间
2021-12-19 16:34:44
评测时间
2021-12-19 16:34:44
评测机
分数
80
总耗时
≥13807ms
峰值内存
≥195.242 MiB