/ 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 5.012 MiB
#2 Accepted 8ms 5.125 MiB
#3 Accepted 13ms 5.379 MiB
#4 Accepted 13ms 5.352 MiB
#5 Accepted 13ms 5.426 MiB
#6 Accepted 13ms 5.465 MiB
#7 Accepted 392ms 17.5 MiB
#8 Accepted 1702ms 35.598 MiB
#9 Accepted 1787ms 35.277 MiB
#10 Accepted 1684ms 40.941 MiB

信息

递交者
类型
递交
题目
P2030 逛公园
语言
C++
递交时间
2021-08-05 09:29:33
评测时间
2021-08-05 09:29:33
评测机
分数
100
总耗时
5634ms
峰值内存
40.941 MiB