/ Vijos /

记录详情

Time Exceeded

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:59:35: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 bool check(double a,double b,int i){
                                   ^
foo.cc:59:35: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:59:35: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:63:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 double TwoPoint(int i,double lambda){
                                    ^
foo.cc:63:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:63:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:73:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 bool Check(double mid){
                      ^
foo.cc:73:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:73:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:80:42: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
 __attribute__((optimize("-O3")))int main(){
                                          ^
foo.cc:80:42: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:80:42: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'int main()':
foo.cc:81:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:82:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf",&Eu);
     ~~~~~^~~~~~~~~~~
foo.cc:84:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf%lf%lf",&s[i],&k[i],&u[i]);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 4ms 456.0 KiB
#11 Accepted 7ms 424.0 KiB
#12 Accepted 13ms 460.0 KiB
#13 Accepted 24ms 460.0 KiB
#14 Accepted 56ms 476.0 KiB
#15 Accepted 89ms 500.0 KiB
#16 Accepted 111ms 504.0 KiB
#17 Accepted 221ms 572.0 KiB
#18 Accepted 548ms 724.0 KiB
#19 Accepted 876ms 824.0 KiB
#20 Time Exceeded ≥1110ms ≥892.0 KiB

信息

递交者
类型
递交
题目
P1805 骑行川藏
语言
C++
递交时间
2021-07-21 09:09:08
评测时间
2021-07-21 09:09:08
评测机
分数
95
总耗时
≥3086ms
峰值内存
≥892.0 KiB