/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In function 'void dfs(int)':
foo.cc:23:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0; i<g[u].size(); i++) {
                ~^~~~~~~~~~~~
foo.cc: In function 'int tps()':
foo.cc:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0; i<g1[u].size(); i++) {
                 ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:83:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j=0; j<g[u].size(); j++) {
                 ~^~~~~~~~~~~~
foo.cc:72:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&h1,&h2);
   ~~~~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int tps()':
foo.cc:63:4: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (sccno[i]==ans) cc++;
    ^~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-29T03:51:15.601Z","handle":"2020-05-29T03:51:15.613Z","cache_start":"2020-05-29T03:51:15.680Z","read_cases":"2020-05-29T03:51:16.595Z","judge":"2020-05-29T03:51:16.597Z","done":"2020-05-29T03:51:18.181Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 768.0 KiB
#2 Wrong Answer 读取到 0 ,应为 1 1ms 768.0 KiB
#3 Accepted 5ms 1.934 MiB
#4 Accepted 4ms 1.41 MiB
#5 Accepted 4ms 1.594 MiB
#6 Wrong Answer 读取到 0 ,应为 2 1ms 768.0 KiB
#7 Wrong Answer 读取到 0 ,应为 3 1ms 768.0 KiB
#8 Wrong Answer 读取到 0 ,应为 4 3ms 896.0 KiB
#9 Wrong Answer 读取到 0 ,应为 5 12ms 1.219 MiB
#10 Accepted 2ms 768.0 KiB
#11 Accepted 1ms 768.0 KiB
#12 Accepted 1ms 768.0 KiB

信息

递交者
类型
递交
题目
受欢迎的牛
语言
C++
递交时间
2020-05-29 11:51:15
评测时间
2020-05-29 11:51:15
评测机
分数
60
总耗时
41ms
峰值内存
1.934 MiB