/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void dfs1(long long int)':
/in/foo.cc:14:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<G[s].size();i++){  
             ~^~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(long long int)':
/in/foo.cc:22:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<G[s].size();i++){  
             ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     while(scanf("%I64d%I64d",&n,&m)!=EOF){        
                                   ^
/in/foo.cc:33:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:41:46: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
             scanf("%I64d%I64d",&dp[i][1],&sum);  
                                              ^
/in/foo.cc:41:46: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:43:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
                 scanf("%I64d",&x);  
                                 ^
/in/foo.cc:52:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         printf("%I64d\n",ans);  
                             ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥66.098 MiB
#2 Time Exceeded ≥1049ms ≥65.598 MiB
#3 Time Exceeded ≥1048ms ≥65.973 MiB
#4 Time Exceeded ≥1047ms ≥67.445 MiB
#5 Time Exceeded ≥1059ms ≥66.68 MiB
#6 Time Exceeded ≥1050ms ≥67.633 MiB
#7 Time Exceeded ≥1051ms ≥35.57 MiB
#8 Time Exceeded ≥1048ms ≥69.973 MiB
#9 Time Exceeded ≥1007ms ≥73.809 MiB
#10 Time Exceeded ≥1004ms ≥72.215 MiB

信息

递交者
类型
递交
题目
P1642 班长的任务
语言
C++
递交时间
2018-05-18 20:51:11
评测时间
2018-05-18 20:51:11
评测机
分数
0
总耗时
≥10371ms
峰值内存
≥73.809 MiB