/ Vijos /

记录详情

Accepted

foo.cc: In function 'void write()':
foo.cc:75:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
        if(d[L][0].s[i]<1000) printf("%ld",0);
                                            ^
foo.cc:76:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
        if(d[L][0].s[i]<100) printf("%ld",0);
                                           ^
foo.cc:77:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
        if(d[L][0].s[i]<10)   printf("%ld",0);
                                            ^
foo.cc: In function 'void init()':
foo.cc:30:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%ld%ld",&N,&L);
     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:36:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
        scanf("%ld",&w);
        ~~~~~^~~~~~~~~~
foo.cc:44:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
        scanf("%ld",&w);
        ~~~~~^~~~~~~~~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-30T04:48:34.404Z","handle":"2020-05-30T04:48:34.404Z","cache_start":"2020-05-30T04:48:34.411Z","read_cases":"2020-05-30T04:48:35.016Z","judge":"2020-05-30T04:48:35.017Z","done":"2020-05-30T04:48:35.391Z"}
# 状态 耗时 内存占用
#1 Accepted 0ms 384.0 KiB
#2 Accepted 1ms 1.5 MiB
#3 Accepted 11ms 6.703 MiB
#4 Accepted 5ms 4.93 MiB
#5 Accepted 19ms 8.957 MiB
#6 Accepted 20ms 10.594 MiB
#7 Accepted 14ms 7.953 MiB
#8 Accepted 26ms 9.602 MiB
#9 Accepted 28ms 10.348 MiB
#10 Accepted 26ms 9.555 MiB

信息

递交者
类型
递交
题目
P1658 萌萌的哈密顿
语言
C++
递交时间
2020-05-30 12:48:34
评测时间
2020-05-30 12:48:34
评测机
分数
100
总耗时
154ms
峰值内存
10.594 MiB