This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!BPY | |
""" Registration info for Blender menus: | |
Name: 'OGRE (.mesh.xml)...' | |
Blender: 236 | |
Group: 'Import' | |
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.' | |
""" | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!BPY | |
""" Registration info for Blender menus: | |
Name: 'OGRE (.mesh.xml)...' | |
Blender: 236 | |
Group: 'Import' | |
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.' | |
""" | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!BPY | |
""" Registration info for Blender menus: | |
Name: 'OGRE (.mesh.xml)...' | |
Blender: 236 | |
Group: 'Import' | |
Tip: 'Import an Ogre-Mesh (.mesh.xml) file.' | |
""" | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text.Json; | |
using VT = System.ValueTuple<int, int>; | |
class NoRepeatArr{ | |
Dictionary<VT, int> cache = new Dictionary<VT, int>(); | |
Dictionary<VT, VT> nextState = new Dictionary<VT, VT>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//digitSeq e digit | |
enum NodeType { | |
Enter, | |
Digit, | |
Exponent, | |
End, | |
BeforePoint, | |
Point, | |
AfterPoint, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import { isNumber } from 'util'; | |
// class CurStep { | |
// wei : number | |
// curV : number | |
// } | |
// function IsNum( c : string) { | |
// return !isNaN(Number(c)) | |
// } | |
//特定长度的整数最高位 > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum OpType { | |
None, | |
Remove, | |
Add, | |
Replace, | |
} | |
class MethodDetail { | |
method : OpType | |
num : number | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum OpType { | |
None, | |
Remove, | |
Add, | |
Replace, | |
} | |
class MethodDetail { | |
method : OpType | |
num : number | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//检查数量 满足 则 只Replace | |
//迭代修复 | |
//1中行为 修复多个问题 | |
//最优解 | |
//解决问题顺序 | |
//解决问题方法 | |
//所有解中的最优解决方案 | |
class LinkedNode<T>{ | |
data : T = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum ProblemT { | |
Less, | |
More, | |
Same, | |
MisUp, | |
MisLow, | |
MisNum | |
} | |
class SNode { | |
start : number |
NewerOlder