/ new_bzoj /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:87:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::priority_queue<int, std::vector<int>, std::greater<int> >::size_type {aka long unsigned int}' [-Wformat=]
     printf("%d\n",pq.size());
                   ~~~~~~~~~^
foo.cc:80:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:81:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1; i<=n; i++)scanf("%d",&k[i]);
                            ~~~~~^~~~~~~~~~~~
foo.cc:82:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1; i<=n; i++)scanf("%d",&v[i]);
                            ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 5ms 4.035 MiB
#2 Accepted 241ms 4.188 MiB
#3 Accepted 5ms 4.023 MiB
#4 Accepted 10ms 4.109 MiB
#5 Accepted 7ms 4.07 MiB
#6 Accepted 6ms 4.066 MiB
#7 Accepted 7ms 4.129 MiB
#8 Accepted 8ms 4.125 MiB
#9 Accepted 13ms 4.129 MiB
#10 Accepted 13ms 4.129 MiB

信息

递交者
类型
递交
题目
赛车
语言
C++
递交时间
2021-03-22 15:33:40
评测时间
2021-03-22 15:33:40
评测机
分数
100
总耗时
318ms
峰值内存
4.188 MiB