mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-10-17 21:42:25 +00:00
refactor: 移除调试打印代码并清理多余空行
This commit is contained in:
parent
f8b4831d7b
commit
07aecbac0e
@ -5,7 +5,6 @@
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
|
||||
class Solution {
|
||||
public:
|
||||
struct Version{
|
||||
@ -29,10 +28,10 @@ public:
|
||||
v.push_back(
|
||||
atoi(str.substr(p).c_str())
|
||||
);
|
||||
for(auto i:v){
|
||||
printf("%d ",i);
|
||||
}
|
||||
printf("\n");
|
||||
// for(auto i:v){
|
||||
// printf("%d ",i);
|
||||
// }
|
||||
// printf("\n");
|
||||
}
|
||||
inline bool operator<(const Version&other)const{
|
||||
for(int i=0;i<max(v.size(),other.v.size());i++){
|
||||
|
Loading…
Reference in New Issue
Block a user