/ 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 5ms 2.625 MiB
#2 Accepted 5ms 2.625 MiB
#3 Accepted 3ms 2.75 MiB
#4 Accepted 4ms 2.625 MiB
#5 Accepted 4ms 2.625 MiB
#6 Accepted 18ms 4.375 MiB
#7 Accepted 18ms 4.375 MiB
#8 Accepted 56ms 5.105 MiB
#9 Accepted 40ms 5.043 MiB
#10 Accepted 471ms 5.121 MiB

信息

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