/ 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 6ms 4.957 MiB
#2 Accepted 8ms 5.184 MiB
#3 Accepted 13ms 5.391 MiB
#4 Accepted 13ms 5.41 MiB
#5 Accepted 12ms 5.449 MiB
#6 Accepted 13ms 5.441 MiB
#7 Accepted 394ms 27.055 MiB
#8 Accepted 1602ms 42.125 MiB
#9 Accepted 1668ms 41.535 MiB
#10 Accepted 1615ms 47.246 MiB

信息

递交者
类型
递交
题目
P2030 逛公园
语言
C++
递交时间
2021-10-12 20:10:22
评测时间
2021-10-12 20:10:22
评测机
分数
100
总耗时
5347ms
峰值内存
47.246 MiB