/ Vijos /

记录详情

Wrong Answer

foo.cc:25:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fwhole-program")
                                       ^
foo.cc:34:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-fcse-skip-blocks")
                                         ^
foo.cc:48:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
 #pragma GCC optimize("-funsafe-loop-optimizations")
                                                   ^
foo.cc:63:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void add(int u, int v)
                      ^
foo.cc:63:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:63:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:76:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int dfs(int cur)
                ^
foo.cc:76:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:76:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:92:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 void rdfs(int cur)
                  ^
foo.cc:92:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:92:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:99:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 int main()
          ^
foo.cc:99:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:99:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'int main()':
foo.cc:101:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:103:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &k[i]);
         ~~~~~^~~~~~~~~~~~~
foo.cc:107:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d", &u, &v);
         ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 400.0 KiB
#3 Wrong Answer Read 1, expect 2. 2ms 408.0 KiB
#4 Wrong Answer Read 139, expect 155. 11ms 1.133 MiB
#5 Wrong Answer Read 279, expect 151. 13ms 1.148 MiB
#6 Wrong Answer Read 10, expect 329. 18ms 1.297 MiB
#7 Wrong Answer Read 1421, expect 1000. 37ms 2.781 MiB
#8 Wrong Answer Read 816, expect 1500. 45ms 3.512 MiB
#9 Wrong Answer Read 308, expect 1373. 51ms 4.719 MiB
#10 Wrong Answer Read 211, expect 311. 48ms 4.566 MiB

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2021-07-21 09:12:57
评测时间
2021-07-21 09:12:57
评测机
分数
20
总耗时
234ms
峰值内存
4.719 MiB