告诫后人:如果你WA 40~50
查看原帖
告诫后人:如果你WA 40~50
560516
喵仔牛奶楼主2022/7/24 18:38

memset(dis, 0x3f, sizeof dis); ×

memset(dis, 0x3f3f, sizeof dis); 对√

WA 40是要加特判

if (x == 1 || y == 1 || z == 1)
   cout << h << '\n', exit(0);
2022/7/24 18:38
加载中...