记录详情

Runtime Error

foo.cc: In function 'void sum(ll)':
foo.cc:138:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (n > 1)
     ^~
foo.cc:140:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  s=s%1000000007;
  ^
foo.cc: In function 'long long int ZH(ll, ll)':
foo.cc:148:24: warning: left operand of comma operator has no effect [-Wunused-value]
  for (i = m + 1,j=1; i <= n,j<=n-m; i++,j++)
                      ~~^~~~
foo.cc: In function 'void Test1()':
foo.cc:163:9: warning: variable 'obj' set but not used [-Wunused-but-set-variable]
  ll n,m,obj;
         ^~~
foo.cc: In function 'long long int ZH(ll, ll)':
foo.cc:157:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ret=ret*10+ans.a[i];
       ~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Runtime Error Aborted 2ms 384.0 KiB
#5 Runtime Error Aborted 2ms 384.0 KiB
#6 Runtime Error Aborted 2ms 384.0 KiB
#7 Runtime Error Aborted 2ms 352.0 KiB
#8 Runtime Error Segmentation fault 3ms 384.0 KiB
#9 Runtime Error Segmentation fault 3ms 384.0 KiB
#10 Runtime Error Segmentation fault 2ms 384.0 KiB
#11 Runtime Error Segmentation fault 2ms 384.0 KiB
#12 Runtime Error Segmentation fault 3ms 384.0 KiB
#13 Wrong Answer Read 1, expect 642999645. 9ms 400.0 KiB
#14 Runtime Error Segmentation fault 1ms 360.0 KiB

信息

递交者
类型
递交
题目
P1303 G. Mathforces
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 16:51:10
评测时间
2021-11-21 16:51:10
评测机
分数
45
总耗时
41ms
峰值内存
400.0 KiB