/ 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 6ms 2.625 MiB
#2 Accepted 4ms 2.625 MiB
#3 Accepted 5ms 2.625 MiB
#4 Accepted 5ms 2.625 MiB
#5 Accepted 5ms 2.625 MiB
#6 Accepted 15ms 4.375 MiB
#7 Accepted 16ms 4.375 MiB
#8 Accepted 50ms 5.078 MiB
#9 Accepted 25ms 5.043 MiB
#10 Accepted 752ms 5.078 MiB

信息

递交者
类型
递交
题目
P1321 魔塔
语言
C++
递交时间
2021-12-15 20:45:37
评测时间
2021-12-15 20:45:37
评测机
分数
100
总耗时
887ms
峰值内存
5.078 MiB