/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool check(long long int)':
foo.cc:17:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |     for(ll i=0; i<edge[x].size(); i++){
      |                 ~^~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:54:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |     scanf("%lld %lld %lld",&n,&s,&m);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   57 |         scanf("%lld %lld %lld",&x,&y,&z);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 2.625 MiB
#2 Accepted 3ms 2.625 MiB
#3 Accepted 3ms 2.625 MiB
#4 Accepted 3ms 2.625 MiB
#5 Accepted 4ms 2.625 MiB
#6 Accepted 17ms 4.375 MiB
#7 Accepted 13ms 4.375 MiB
#8 Accepted 31ms 5.367 MiB
#9 Accepted 24ms 5.375 MiB
#10 Accepted 483ms 5.363 MiB

信息

递交者
类型
递交
题目
P1321 魔塔
语言
C++
递交时间
2022-07-20 15:14:53
评测时间
2022-07-20 15:14:53
评测机
分数
100
总耗时
589ms
峰值内存
5.375 MiB