Accepted

foo.cc:11:30: warning: ‘-std=c++11’ is not an option that controls warnings [-Wpragmas]
   11 | #pragma GCC diagnostic error "-std=c++11"
      |                              ^~~~~~~~~~~~
foo.cc:33:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   33 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
foo.cc:40:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   40 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
foo.cc:42:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   42 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
foo.cc:56:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   56 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
foo.cc:64:19: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   64 | bool cmp(st x,st y){
      |                   ^
foo.cc:64:19: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
foo.cc:64:19: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
foo.cc:64:19: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
foo.cc:68:15: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   68 | int find(int x){
      |               ^
foo.cc:68:15: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
foo.cc:68:15: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
foo.cc:68:15: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
foo.cc:72:23: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   72 | void merge(int x,int y){
      |                       ^
foo.cc:72:23: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
foo.cc:72:23: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
foo.cc:72:23: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
foo.cc:76:10: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   76 | int main(){
      |          ^
foo.cc:76:10: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
foo.cc:76:10: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
foo.cc:76:10: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Accepted 4ms 536.0 KiB
#3 Accepted 3ms 532.0 KiB
#4 Accepted 4ms 540.0 KiB
#5 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
题目
P1111 太空代码Ⅱ
语言
C++
递交时间
2024-05-06 20:16:15
评测时间
2024-05-06 20:16:15
评测机
分数
100
总耗时
17ms
峰值内存
540.0 KiB