/ Vijos /

记录详情

Accepted

foo.cc: In function 'int f(int)':
foo.cc:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int j=0;j<a[x].size();j++){
              ~^~~~~~~~~~~~
foo.cc:19:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int j=0;j<a[x].size();j++){
              ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:26:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&k,&n);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:31:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&x,&y);
    ~~~~~^~~~~~~~~~~~~~
foo.cc:42:13: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ans[i] = f(root);
            ~^~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-21T12:51:40.637Z","handle":"2020-07-21T12:51:40.637Z","cache_start":"2020-07-21T12:51:40.644Z","read_cases":"2020-07-21T12:51:40.773Z","judge":"2020-07-21T12:51:40.773Z","done":"2020-07-21T12:51:41.313Z"}
# 状态 耗时 内存占用
#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 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Accepted 1ms 256.0 KiB

信息

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