/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In member function 'void dijkstra::dij(int, int, int)':
foo.cc:45:44: warning: narrowing conversion of '((dijkstra*)this)->dijkstra::dis[s]' from 'long long int' to 'int' inside { } [-Wnarrowing]
         dis[s] = 0; q.push((node) {s, dis[s]});
                                       ~~~~~^
foo.cc:55:68: warning: narrowing conversion of '((dijkstra*)this)->dijkstra::dis[v]' from 'long long int' to 'int' inside { } [-Wnarrowing]
                     dis[v] = dis[u] + w[i], q.push((node) {v, dis[v]});
                                                               ~~~~~^
foo.cc: In function 'int main()':
foo.cc:105:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("trans.in", "r", stdin);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:106:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("trans.out", "w", stdout);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In member function 'void dijkstra::solve()':
foo.cc:74:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%lld%d", &t, &n, &k, &m);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d%d", &x, &y, &z);
             ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:80:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &d);
         ~~~~~^~~~~~~~~~
foo.cc:83:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d%d", &u, &l, &r);
             ~~~~~^~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,1001 > 1000 > 100 > 99 2ms 384.0 KiB
#2 Wrong Answer 0a1 > 585747006247316914634287 2ms 384.0 KiB
#3 Wrong Answer 0a1 > 122191892661051624605667 2ms 384.0 KiB
#4 Wrong Answer 0a1 > 353416613746856099891636 2ms 384.0 KiB
#5 Wrong Answer 0a1 > 803049602197875325948796 2ms 384.0 KiB
#6 Wrong Answer 0a1 > 882629305251585966766301 2ms 384.0 KiB
#7 Wrong Answer 0a1 > 384423073179608165531545 2ms 384.0 KiB
#8 Wrong Answer 0a1 > 912639728562591803272493 2ms 384.0 KiB
#9 Wrong Answer 0a1 > 640156796190984690653857 2ms 384.0 KiB

信息

递交者
类型
递交
题目
明明的烦恼
语言
C++
递交时间
2021-04-18 17:20:58
评测时间
2021-04-18 17:20:58
评测机
分数
0
总耗时
20ms
峰值内存
384.0 KiB