/ 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 5ms 5.023 MiB
#2 Accepted 7ms 5.129 MiB
#3 Accepted 13ms 5.387 MiB
#4 Accepted 12ms 5.391 MiB
#5 Accepted 12ms 5.445 MiB
#6 Accepted 12ms 5.477 MiB
#7 Accepted 356ms 27.043 MiB
#8 Accepted 1428ms 41.773 MiB
#9 Accepted 1483ms 41.223 MiB
#10 Accepted 1261ms 47.238 MiB

信息

递交者
类型
递交
题目
P2030 逛公园
语言
C++
递交时间
2021-10-17 14:11:53
评测时间
2021-10-17 14:11:53
评测机
分数
100
总耗时
4595ms
峰值内存
47.238 MiB