版本比较
wake-up war 1V1 version
正文
增加 8 行删除 4 行
1234567895 行未改动151617181819202122222324252627106 行未改动全部展开13413513613713713813813914014114214314414514614714814915015151 行未改动```cpp//wake-up war 1V1 version//Created by seanli1008 on 2025/9/26.//Copyright (c) 2025年 seanli1008. All rights reserved.//Acknowledgements: sfy666#include <bits/stdc++.h>using namespace std;mt19937 rnd(time(0));struct player{5 行未改动struct compass_car{ //all things about compass car}cps_car[100];bool over(){ if(!pl[1].hp){ if(pl[1].hp<=0){ cout<<"player 2 is the winner!"<<endl; return true; } if(!pl[2].hp){ if(pl[2].hp<=0){ cout<<"player 1 is the winner!"<<endl; return true; } return false;106 行未改动全部展开 if(item=="speed medicine") pl[x].speed_med_num++; if(item=="poison") pl[x].poison_num++; if(item=="jisu") pl[x].jisu_num++; if(item=="hormone") pl[x].hormone_num++; if(item=="instruction") pl[x].instruction++; if(item=="mask") pl[x].on_mask=1; } if(pl[x].pos==1){ }}int main(){ cout<<"wake-up war developed by seanli1008"<<endl; Sleep(200);51 行未改动