/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int dfs(int, long long int)':
foo.cc:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<e[nw].size();i++){
                 ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:47:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf(" %lld",&ar[i]);
         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 1.766 MiB
#2 Accepted 4ms 1.805 MiB
#3 Accepted 15ms 1.945 MiB
#4 Accepted 19ms 1.988 MiB
#5 Accepted 17ms 1.992 MiB
#6 Accepted 20ms 1.996 MiB
#7 Accepted 15ms 1.988 MiB
#8 Accepted 11ms 1.984 MiB
#9 Time Exceeded ≥2425ms ≥9.848 MiB
#10 Time Exceeded ≥2438ms ≥9.871 MiB

信息

递交者
类型
递交
题目
P1352 最大获利
语言
C++
递交时间
2021-08-02 10:15:34
评测时间
2021-08-02 10:15:34
评测机
分数
80
总耗时
≥4973ms
峰值内存
≥9.871 MiB