版本比较
20260818总结(来追梦)
正文
增加 54 行删除 17 行
123456712345678910111213141516171819202122232425262714 行未改动42434445464748493350515253545556575825 行未改动84858687888990919271729394959697989910010116 行未改动11811912012112212312410012512612712812913019 行未改动15015115215315415515615715813213315916016116216316416516616743 行未改动21121221321421521621721818919021922022122222322422522622732 行未改动26026126226326426526623326726826927027127221 行未改动294295296297298299300301302266303考试情况:t1 100 t2 100 t3 20 t4 0 t5 10题目总结:T1### 考试情况| 题目 | 得分 ||:-:|:-:|| T1 | 100 || | || | || | || | || | || | || | || | || | || | || | || | |
### 题目总结#### T1
##### 正确代码```#include<bits/stdc++.h>#define int long longusing namespace std;priority_queue<int> q;14 行未改动 } } return 0;} ```
T2
#### T2
##### 正确代码```#include<bits/stdc++.h>using namespace std;priority_queue<string,vector<string>,greater<string>> q;int n;25 行未改动 } } return 0;} ```
T3错误原因:long long *long long 会错#### T3
##### 错误原因:long long *long long 会错
```#include<bits/stdc++.h>#define int unsigned long longusing namespace std;int n,m;16 行未改动 } cout<<ans; return 0;}```
正确代码:### 正确代码:```#include<bits/stdc++.h>#define int unsigned long longusing namespace std;int n,m;19 行未改动 } cout<<ans; return 0;}```
T3错误原因:没思路
#### T4##### 错误原因:没思路
```#include<bits/stdc++.h>#define int long longusing namespace std;int n,m;43 行未改动 }else{cout<<"-1\n";} } return 0;}```
T5错误原因:方法用错了
#### T5##### 错误原因:方法用错了
```#include<bits/stdc++.h>#define int long longusing namespace std;int t;32 行未改动 cout<<"\n"; } return 0;} ```
正确代码:#### 正确代码:```#include<bits/stdc++.h>#define int long longusing namespace std;int t;21 行未改动 cout<<ans<<"\n"; } return 0;} ```
刷题刷少了### 刷题刷少了