Skip to content

Commit c4d5eed

Browse files
committed
update codesnippet tk2
1 parent cb28bcf commit c4d5eed

7 files changed

Lines changed: 26 additions & 13 deletions

File tree

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

codesnippet/tk/cpp/tkcpp_bits.snippet

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
33
<CodeSnippet Format="1.0.0">
44
<Header>
5-
<Title>tkcpp_bits</Title>
6-
<Shortcut>tkcpp_bits</Shortcut>
5+
<Title>tkcppbits</Title>
6+
<Shortcut>tkcppbits</Shortcut>
77
<Description>C++ 竞赛模板(使用 bits/stdc++.h)</Description>
88
<Author>ttkqwe</Author>
99
<SnippetTypes>
@@ -13,17 +13,16 @@
1313
<Snippet>
1414
<Declarations>
1515
<Literal Editable="true">
16-
<ID>typedef_name</ID>
16+
<ID>typedefname</ID>
1717
<ToolTip>长整型类型别名(默认 ll)</ToolTip>
1818
<Default>ll</Default>
1919
</Literal>
2020
</Declarations>
2121
<Code Language="cpp"><![CDATA[
22-
2322
#include <bits/stdc++.h>
2423
using namespace std;
2524

26-
typedef long long $typedef_name$;
25+
typedef long long $typedefname$;
2726

2827
int main() {
2928
ios::sync_with_stdio(false);

codesnippet/tk/cpp/tkcpp_full.snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
33
<CodeSnippet Format="1.0.0">
44
<Header>
5-
<Title>tkcpp_full</Title>
6-
<Shortcut>tkcpp_full</Shortcut>
5+
<Title>tkcppfull</Title>
6+
<Shortcut>tkcppfull</Shortcut>
77
<Description>C++ 竞赛完整模板(包含常用宏和类型定义)</Description>
88
<Author>ttkqwe</Author>
99
<SnippetTypes>

codesnippet/tk/java/tkjava_fast.snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
33
<CodeSnippet Format="1.0.0">
44
<Header>
5-
<Title>tkjava_fast</Title>
6-
<Shortcut>tkjava_fast</Shortcut>
5+
<Title>tkjavafast</Title>
6+
<Shortcut>tkjavafast</Shortcut>
77
<Description>Java 竞赛快速 I/O 模板(BufferedReader,适合大数据量)</Description>
88
<Author>ttkqwe</Author>
99
<SnippetTypes>

codesnippet/tk/java/tkjava_full.snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
33
<CodeSnippet Format="1.0.0">
44
<Header>
5-
<Title>tkjava_full</Title>
6-
<Shortcut>tkjava_full</Shortcut>
5+
<Title>tkjavafull</Title>
6+
<Shortcut>tkjavafull</Shortcut>
77
<Description>Java 竞赛完整模板(包含常用工具方法)</Description>
88
<Author>ttkqwe</Author>
99
<SnippetTypes>

codesnippet/tk/python/tkpy_fast.snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
33
<CodeSnippet Format="1.0.0">
44
<Header>
5-
<Title>tkpy_fast</Title>
6-
<Shortcut>tkpy_fast</Shortcut>
5+
<Title>tkpy</Title>
6+
<Shortcut>tkpy</Shortcut>
77
<Description>Python 竞赛快速 I/O 模板(适合大数据量)</Description>
88
<Author>ttkqwe</Author>
99
<SnippetTypes>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
#include <bits/stdc++.h>
3+
using namespace std;
4+
5+
typedef long long ll;
6+
7+
int main() {
8+
ios::sync_with_stdio(false);
9+
cin.tie(nullptr);
10+
11+
12+
13+
return 0;
14+
}

0 commit comments

Comments
 (0)