/ 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:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   82 | void dfsL(int x) {
      |                ^
foo.cc:82:16: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:82:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:82:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:91:25: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   91 | void dfsR(int x, int sum) {
      |                         ^
foo.cc:91:25: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:91:25: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:91:25: 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 213ms 25.496 MiB
#2 Accepted 1782ms 195.113 MiB
#3 Accepted 1745ms 195.367 MiB
#4 Accepted 1627ms 191.867 MiB
#5 Accepted 1930ms 191.867 MiB
#6 Accepted 204ms 25.457 MiB
#7 Accepted 231ms 25.496 MiB
#8 Accepted 1848ms 195.242 MiB
#9 Accepted 1842ms 195.242 MiB
#10 Time Exceeded ≥2076ms ≥195.242 MiB

信息

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