/ XMU_ACM /

记录详情

Time Exceeded

foo.cc: In function 'll ksm(ll, ll)':
foo.cc:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(s&1) ds=(ds*ft)%mod;
         ^~
foo.cc:15:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   s>>=1;ft=(ft*ft)%mod;
   ^
foo.cc: In function 'int main()':
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld",&n);
  ~~~~~^~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 687909, expect 701858. 2ms 384.0 KiB
#2 Wrong Answer Read 711671643, expect 959229535. 65ms 408.0 KiB
#3 Time Exceeded ≥1827ms ≥7.387 MiB

信息

递交者
类型
递交
比赛
厦大附中模拟赛第六场
语言
C++
递交时间
2021-03-14 17:29:29
评测时间
2021-03-14 17:29:29
评测机
分数
0
总耗时
≥1894ms
峰值内存
≥7.387 MiB