/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void DP(int)':
foo.cc:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < tree[u].size(); ++i) {
                     ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'void init()':
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d", &n, &m); //n为共有n门课程,需要选择m门课程
     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d",&y,&f[i][1]);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,10d0 < 1 < 3 < 7 < 2 < 5 < 8 2ms 384.0 KiB
#2 Wrong Answer 1,50d0 < 1 < 2 < 3 < 7 < 9 < 4 2ms 596.0 KiB
#3 Wrong Answer 1,150d0 < 1 < 2 < 26 < 11 < 13 3ms 1.039 MiB
#4 Wrong Answer 1,230d0 < 1 < 2 < 19 < 24 < 68 6ms 1.324 MiB
#5 Wrong Answer 1,300d0 < 1 < 2 < 6 < 34 < 109 7ms 1.574 MiB

信息

递交者
类型
递交
题目
P1180 选课
语言
C++
递交时间
2021-07-13 09:55:08
评测时间
2021-07-13 09:55:08
评测机
分数
0
总耗时
23ms
峰值内存
1.574 MiB