记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=m;i++)
     ^~~
foo.cc:22:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      sort(c,c+n);
      ^~~~
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&a[i].n1,&a[i].m1);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-10T04:00:54.623Z","handle":"2020-07-10T04:00:54.623Z","cache_start":"2020-07-10T04:00:54.629Z","read_cases":"2020-07-10T04:01:05.451Z","judge":"2020-07-10T04:01:05.452Z","done":"2020-07-10T04:01:06.717Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Runtime Error 0ms 256.0 KiB
#9 Runtime Error 0ms 256.0 KiB
#10 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
1.开心的金明(happy)
题目数据
下载
语言
C++
递交时间
2019-07-06 11:02:23
评测时间
2020-07-10 12:00:54
评测机
分数
80
总耗时
12ms
峰值内存
384.0 KiB