/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'void dfs(int, int)':
foo.cc:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0; i<t[x].size(); i++)
                ~^~~~~~~~~~~~
foo.cc: In function 'int hsh(int)':
foo.cc:21:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0; i<t[x].size(); i++)
                ~^~~~~~~~~~~~
foo.cc:28:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0; i<h.size(); i++) ansx = (ansx + (h[i]+1)*(i+1))%1000010;
                ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:67:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j=0; j<cnt[i].size()-1; j++) cout<<cnt[i][j]<<"=";
                  ~^~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-21T12:23:48.994Z","handle":"2020-07-21T12:23:48.994Z","cache_start":"2020-07-21T12:23:49.002Z","read_cases":"2020-07-21T12:23:49.135Z","judge":"2020-07-21T12:23:49.135Z","done":"2020-07-21T12:23:50.420Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 1ms 512.0 KiB
#3 Runtime Error Segmentation fault 1ms 512.0 KiB
#4 Runtime Error Segmentation fault 1ms 512.0 KiB
#5 Runtime Error Segmentation fault 1ms 512.0 KiB
#6 Runtime Error Segmentation fault 1ms 512.0 KiB
#7 Runtime Error Segmentation fault 1ms 512.0 KiB
#8 Runtime Error Segmentation fault 1ms 512.0 KiB

信息

递交者
类型
递交
题目
P1683 有根树的同构问题
语言
C++
递交时间
2020-07-21 20:23:48
评测时间
2020-07-21 20:23:48
评测机
分数
10
总耗时
12ms
峰值内存
512.0 KiB