This commit is contained in:
unknown 2021-12-01 22:07:40 +08:00
parent d71e31cf80
commit 2f2190f002
2 changed files with 4 additions and 3 deletions

5
.gitignore vendored
View File

@ -11,13 +11,14 @@
# HelloWrold.class # HelloWrold.class
AStyle.exe AStyle.exe
*.orig *.orig
*/result.txt
xy.txt
# 忽略指定文件夹 # 忽略指定文件夹
build/ build/
*/bin/ */bin/
*/result.txt
*/__pycache__/ */__pycache__/
.vs/ .vs/
.vscode/ .vscode/
*/x64/ */x64/
*/Debug/ */Debug/

View File

@ -29,5 +29,5 @@ using namespace std::chrono;
#define cppClockCurr \ #define cppClockCurr \
tStop = system_clock::now(); \ tStop = system_clock::now(); \
t = duration<double, std::milli>(tStart - tStop).count(); \ t = duration<double, std::milli>(tStop - tStart).count(); \
printf("cpp time cost: %f ms.\n", t); \ printf("cpp time cost: %f ms.\n", t); \