/ Vijos /

记录详情

Accepted

foo.cc:54:1: warning: "/*" within comment [-Wcomment]
 /* if(x)
  
foo.cc: In function 'void dp(int)':
foo.cc:7:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<son[x].size();i++)
              ~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&m,&n);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:33:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&x,&a[i]);
    ~~~~~^~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 448.0 KiB
#2 Accepted 2ms 560.0 KiB
#3 Accepted 3ms 1.0 MiB
#4 Accepted 6ms 1.273 MiB
#5 Accepted 7ms 1.543 MiB

信息

递交者
类型
递交
题目
P1180 选课
语言
C++
递交时间
2021-03-14 06:44:37
评测时间
2021-03-14 06:44:37
评测机
分数
100
总耗时
21ms
峰值内存
1.543 MiB