/ Vijos /

记录详情

Accepted

foo.cc: In function 'int get(int, int)':
foo.cc:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < graph_r[node].size(); i++) {
                     ~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int work()':
foo.cc:85:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < graph[elem].size(); i++) {
                         ~~^~~~~~~~~~~~~~~~~~~~
foo.cc:56:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d%d", &n, &m, &k, &p);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:63:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d", &a, &b, &c);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:105:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &T);
     ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 4.953 MiB
#2 Accepted 9ms 5.164 MiB
#3 Accepted 14ms 5.395 MiB
#4 Accepted 14ms 5.41 MiB
#5 Accepted 13ms 5.422 MiB
#6 Accepted 15ms 5.441 MiB
#7 Accepted 468ms 26.973 MiB
#8 Accepted 1739ms 42.121 MiB
#9 Accepted 1769ms 41.531 MiB
#10 Accepted 1635ms 47.242 MiB

信息

递交者
类型
递交
题目
P2030 逛公园
语言
C++
递交时间
2021-08-26 17:14:42
评测时间
2021-08-26 17:14:43
评测机
分数
100
总耗时
5688ms
峰值内存
47.242 MiB