diff --git a/.vs/Project1C++/FileContentIndex/3d36dec7-1216-4a77-8d7f-8fee9d02db76.vsidx b/.vs/Project1C++/FileContentIndex/0ffbdc66-972e-4c25-9347-2988a828c21f.vsidx
similarity index 78%
rename from .vs/Project1C++/FileContentIndex/3d36dec7-1216-4a77-8d7f-8fee9d02db76.vsidx
rename to .vs/Project1C++/FileContentIndex/0ffbdc66-972e-4c25-9347-2988a828c21f.vsidx
index df31b45..0d2ac4a 100644
Binary files a/.vs/Project1C++/FileContentIndex/3d36dec7-1216-4a77-8d7f-8fee9d02db76.vsidx and b/.vs/Project1C++/FileContentIndex/0ffbdc66-972e-4c25-9347-2988a828c21f.vsidx differ
diff --git a/.vs/Project1C++/FileContentIndex/4703883e-f263-4810-abfa-be93b431f8da.vsidx b/.vs/Project1C++/FileContentIndex/4703883e-f263-4810-abfa-be93b431f8da.vsidx
deleted file mode 100644
index dfaa9a0..0000000
Binary files a/.vs/Project1C++/FileContentIndex/4703883e-f263-4810-abfa-be93b431f8da.vsidx and /dev/null differ
diff --git a/.vs/Project1C++/FileContentIndex/7cdba1fe-d8c3-4dcb-b891-cdb135642750.vsidx b/.vs/Project1C++/FileContentIndex/7cdba1fe-d8c3-4dcb-b891-cdb135642750.vsidx
new file mode 100644
index 0000000..124074b
Binary files /dev/null and b/.vs/Project1C++/FileContentIndex/7cdba1fe-d8c3-4dcb-b891-cdb135642750.vsidx differ
diff --git a/.vs/Project1C++/FileContentIndex/a75b9952-2a08-494f-995d-632dbb43227b.vsidx b/.vs/Project1C++/FileContentIndex/a75b9952-2a08-494f-995d-632dbb43227b.vsidx
deleted file mode 100644
index d7239b3..0000000
Binary files a/.vs/Project1C++/FileContentIndex/a75b9952-2a08-494f-995d-632dbb43227b.vsidx and /dev/null differ
diff --git a/.vs/Project1C++/FileContentIndex/eb641b46-dbea-4855-b160-04de5c325280.vsidx b/.vs/Project1C++/FileContentIndex/eb641b46-dbea-4855-b160-04de5c325280.vsidx
new file mode 100644
index 0000000..77c024f
Binary files /dev/null and b/.vs/Project1C++/FileContentIndex/eb641b46-dbea-4855-b160-04de5c325280.vsidx differ
diff --git a/.vs/Project1C++/v17/.suo b/.vs/Project1C++/v17/.suo
index 2705cde..3002613 100644
Binary files a/.vs/Project1C++/v17/.suo and b/.vs/Project1C++/v17/.suo differ
diff --git a/.vs/Project1C++/v17/DocumentLayout.json b/.vs/Project1C++/v17/DocumentLayout.json
index 6d1bada..d40eb13 100644
--- a/.vs/Project1C++/v17/DocumentLayout.json
+++ b/.vs/Project1C++/v17/DocumentLayout.json
@@ -2,9 +2,21 @@
"Version": 1,
"WorkspaceRootPath": "D:\\project\\Project1C\u002B\u002B\\",
"Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|D:\\project\\Project1C\u002B\u002B\\test.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
+ "RelativeMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|solutionrelative:test.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
+ },
{
"AbsoluteMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|D:\\project\\Project1C\u002B\u002B\\\u5408\u6570\u5206\u89E3.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|solutionrelative:\u5408\u6570\u5206\u89E3.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|D:\\project\\Project1C\u002B\u002B\\\u91D1\u5E01\u95EE\u9898.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
+ "RelativeMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|solutionrelative:\u91D1\u5E01\u95EE\u9898.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
+ },
+ {
+ "AbsoluteMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|D:\\project\\Project1C\u002B\u002B\\\u8BA1\u7B97\u5E73\u65B9\u548C.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
+ "RelativeMoniker": "D:0:0:{653F23DB-4E65-4232-A488-E9A53268A0A6}|Project1C\u002B\u002B.vcxproj|solutionrelative:\u8BA1\u7B97\u5E73\u65B9\u548C.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
}
],
"DocumentGroupContainers": [
@@ -19,12 +31,51 @@
{
"$type": "Document",
"DocumentIndex": 0,
+ "Title": "test.cpp",
+ "DocumentMoniker": "D:\\project\\Project1C\u002B\u002B\\test.cpp",
+ "RelativeDocumentMoniker": "test.cpp",
+ "ToolTip": "D:\\project\\Project1C\u002B\u002B\\test.cpp",
+ "RelativeToolTip": "test.cpp",
+ "ViewState": "AQIAAAAAAAAAAAAAAAAAAAwAAAAKAAAA",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
+ "WhenOpened": "2024-07-11T07:08:06.846Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 3,
+ "Title": "\u8BA1\u7B97\u5E73\u65B9\u548C.cpp",
+ "DocumentMoniker": "D:\\project\\Project1C\u002B\u002B\\\u8BA1\u7B97\u5E73\u65B9\u548C.cpp",
+ "RelativeDocumentMoniker": "\u8BA1\u7B97\u5E73\u65B9\u548C.cpp",
+ "ToolTip": "D:\\project\\Project1C\u002B\u002B\\\u8BA1\u7B97\u5E73\u65B9\u548C.cpp",
+ "RelativeToolTip": "\u8BA1\u7B97\u5E73\u65B9\u548C.cpp",
+ "ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAAWAAAA",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
+ "WhenOpened": "2024-07-11T06:18:32.644Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 2,
+ "Title": "\u91D1\u5E01\u95EE\u9898.cpp",
+ "DocumentMoniker": "D:\\project\\Project1C\u002B\u002B\\\u91D1\u5E01\u95EE\u9898.cpp",
+ "RelativeDocumentMoniker": "\u91D1\u5E01\u95EE\u9898.cpp",
+ "ToolTip": "D:\\project\\Project1C\u002B\u002B\\\u91D1\u5E01\u95EE\u9898.cpp",
+ "RelativeToolTip": "\u91D1\u5E01\u95EE\u9898.cpp",
+ "ViewState": "AQIAAAEAAAAAAAAAAAAswBIAAAAAAAAA",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
+ "WhenOpened": "2024-07-11T06:01:38.929Z",
+ "EditorCaption": ""
+ },
+ {
+ "$type": "Document",
+ "DocumentIndex": 1,
"Title": "\u5408\u6570\u5206\u89E3.cpp",
"DocumentMoniker": "D:\\project\\Project1C\u002B\u002B\\\u5408\u6570\u5206\u89E3.cpp",
"RelativeDocumentMoniker": "\u5408\u6570\u5206\u89E3.cpp",
"ToolTip": "D:\\project\\Project1C\u002B\u002B\\\u5408\u6570\u5206\u89E3.cpp",
"RelativeToolTip": "\u5408\u6570\u5206\u89E3.cpp",
- "ViewState": "AQIAAAMAAAAAAAAAAAAAAAkAAAAPAAAA",
+ "ViewState": "AQIAAAgAAAAAAAAAAAAswA0AAAAFAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2024-07-11T05:23:00.869Z",
"EditorCaption": ""
diff --git a/.vs/Project1C++/v17/Preview/Browse.VC.db b/.vs/Project1C++/v17/Preview/Browse.VC.db
index 5f0feb2..6c7848e 100644
Binary files a/.vs/Project1C++/v17/Preview/Browse.VC.db and b/.vs/Project1C++/v17/Preview/Browse.VC.db differ
diff --git a/.vs/Project1C++/v17/Preview/ipch/AutoPCH/2cf25b8c8e822050/计算平方和.ipch b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/2cf25b8c8e822050/计算平方和.ipch
new file mode 100644
index 0000000..74ff5d2
Binary files /dev/null and b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/2cf25b8c8e822050/计算平方和.ipch differ
diff --git a/.vs/Project1C++/v17/Preview/ipch/AutoPCH/53d70b8dcd760056/TEST.ipch b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/53d70b8dcd760056/TEST.ipch
index e16ccee..d36f0ea 100644
Binary files a/.vs/Project1C++/v17/Preview/ipch/AutoPCH/53d70b8dcd760056/TEST.ipch and b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/53d70b8dcd760056/TEST.ipch differ
diff --git a/.vs/Project1C++/v17/Preview/ipch/AutoPCH/93fd9686b8423f54/金币问题.ipch b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/93fd9686b8423f54/金币问题.ipch
new file mode 100644
index 0000000..243aad8
Binary files /dev/null and b/.vs/Project1C++/v17/Preview/ipch/AutoPCH/93fd9686b8423f54/金币问题.ipch differ
diff --git a/Project1C++.vcxproj b/Project1C++.vcxproj
index 02f1c05..e7129d6 100644
--- a/Project1C++.vcxproj
+++ b/Project1C++.vcxproj
@@ -127,6 +127,7 @@
+
@@ -139,6 +140,8 @@
+
+
diff --git a/Project1C++.vcxproj.filters b/Project1C++.vcxproj.filters
index e5e8800..8a56c9b 100644
--- a/Project1C++.vcxproj.filters
+++ b/Project1C++.vcxproj.filters
@@ -57,5 +57,14 @@
源文件
+
+ 源文件
+
+
+ 源文件
+
+
+ 源文件
+
\ No newline at end of file
diff --git a/Project1C++/x64/Debug/Project1C++.ilk b/Project1C++/x64/Debug/Project1C++.ilk
index eda0aa0..3bd64a1 100644
Binary files a/Project1C++/x64/Debug/Project1C++.ilk and b/Project1C++/x64/Debug/Project1C++.ilk differ
diff --git a/Project1C++/x64/Debug/Project1C++.log b/Project1C++/x64/Debug/Project1C++.log
index c30b503..608f9da 100644
--- a/Project1C++/x64/Debug/Project1C++.log
+++ b/Project1C++/x64/Debug/Project1C++.log
@@ -1,2 +1,2 @@
- 合数分解.cpp
+ 计算平方和.cpp
Project1C++.vcxproj -> D:\project\Project1C++\x64\Debug\Project1C++.exe
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/CL.command.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/CL.command.1.tlog
index e99814f..02f762f 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/CL.command.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/CL.command.1.tlog differ
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/CL.read.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/CL.read.1.tlog
index e2d7c1f..d2673c4 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/CL.read.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/CL.read.1.tlog differ
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/CL.write.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/CL.write.1.tlog
index 7ff9705..3c7b9d5 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/CL.write.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/CL.write.1.tlog differ
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/Cl.items.tlog b/Project1C++/x64/Debug/Project1C++.tlog/Cl.items.tlog
index a14eace..805c298 100644
--- a/Project1C++/x64/Debug/Project1C++.tlog/Cl.items.tlog
+++ b/Project1C++/x64/Debug/Project1C++.tlog/Cl.items.tlog
@@ -10,5 +10,7 @@ D:\project\Project1C++\欧几里得.cpp;D:\project\Project1C++\Project1C++\x64\D
D:\project\Project1C++\矩阵取数简.cpp;D:\project\Project1C++\Project1C++\x64\Debug\矩阵取数简.obj
D:\project\Project1C++\矩阵取数记忆.cpp;D:\project\Project1C++\Project1C++\x64\Debug\矩阵取数记忆.obj
D:\project\Project1C++\矩阵取数高精.cpp;D:\project\Project1C++\Project1C++\x64\Debug\矩阵取数高精.obj
+D:\project\Project1C++\计算平方和.cpp;D:\project\Project1C++\Project1C++\x64\Debug\计算平方和.obj
+D:\project\Project1C++\金币问题.cpp;D:\project\Project1C++\Project1C++\x64\Debug\金币问题.obj
D:\project\Project1C++\高精乘.cpp;D:\project\Project1C++\Project1C++\x64\Debug\高精乘.obj
D:\project\Project1C++\高精加.cpp;D:\project\Project1C++\Project1C++\x64\Debug\高精加.obj
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/link.command.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/link.command.1.tlog
index 6fefc07..1834a97 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/link.command.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/link.command.1.tlog differ
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/link.read.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/link.read.1.tlog
index 6e6ec47..2aa915d 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/link.read.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/link.read.1.tlog differ
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/link.secondary.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/link.secondary.1.tlog
index 513ac08..0469015 100644
--- a/Project1C++/x64/Debug/Project1C++.tlog/link.secondary.1.tlog
+++ b/Project1C++/x64/Debug/Project1C++.tlog/link.secondary.1.tlog
@@ -1,2 +1,2 @@
-^D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\三个数的最大公因数.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀整数精.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀正整数.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀正整数质数筛.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\合数分解.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\平方之和.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\数独.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\斐波那契数列.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\欧几里得.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数简.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数记忆.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数高精.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\高精乘.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\高精加.OBJ
+^D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\三个数的最大公因数.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀整数精.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀正整数.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\优秀正整数质数筛.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\合数分解.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\平方之和.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\数独.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\斐波那契数列.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\欧几里得.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数简.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数记忆.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\矩阵取数高精.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\计算平方和.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\金币问题.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\高精乘.OBJ|D:\PROJECT\PROJECT1C++\PROJECT1C++\X64\DEBUG\高精加.OBJ
D:\project\Project1C++\Project1C++\x64\Debug\Project1C++.ilk
diff --git a/Project1C++/x64/Debug/Project1C++.tlog/link.write.1.tlog b/Project1C++/x64/Debug/Project1C++.tlog/link.write.1.tlog
index b8f6711..9c00d81 100644
Binary files a/Project1C++/x64/Debug/Project1C++.tlog/link.write.1.tlog and b/Project1C++/x64/Debug/Project1C++.tlog/link.write.1.tlog differ
diff --git a/Project1C++/x64/Debug/vc143.idb b/Project1C++/x64/Debug/vc143.idb
index 44c3b5f..2c66e62 100644
Binary files a/Project1C++/x64/Debug/vc143.idb and b/Project1C++/x64/Debug/vc143.idb differ
diff --git a/Project1C++/x64/Debug/vc143.pdb b/Project1C++/x64/Debug/vc143.pdb
index 50f74e9..18eea6c 100644
Binary files a/Project1C++/x64/Debug/vc143.pdb and b/Project1C++/x64/Debug/vc143.pdb differ
diff --git a/Project1C++/x64/Debug/合数分解.obj b/Project1C++/x64/Debug/合数分解.obj
index 67a63b1..7cc6a06 100644
Binary files a/Project1C++/x64/Debug/合数分解.obj and b/Project1C++/x64/Debug/合数分解.obj differ
diff --git a/Project1C++/x64/Debug/计算平方和.obj b/Project1C++/x64/Debug/计算平方和.obj
new file mode 100644
index 0000000..a11135b
Binary files /dev/null and b/Project1C++/x64/Debug/计算平方和.obj differ
diff --git a/Project1C++/x64/Debug/金币问题.obj b/Project1C++/x64/Debug/金币问题.obj
new file mode 100644
index 0000000..e884fa0
Binary files /dev/null and b/Project1C++/x64/Debug/金币问题.obj differ
diff --git a/test.cpp b/test.cpp
new file mode 100644
index 0000000..7df0a2e
--- /dev/null
+++ b/test.cpp
@@ -0,0 +1,14 @@
+#include // cout cin
+// input output stream
+using namespace std;//ռ
+int main() {
+ //int short long long long
+ //float double
+ //char ַ
+ //string ַ
+ //cin>>n;
+ //cout< < >= <= == !=
+ //&& || !
+}
\ No newline at end of file
diff --git a/x64/Debug/Project1C++.exe b/x64/Debug/Project1C++.exe
index e6e921a..e24c9dd 100644
Binary files a/x64/Debug/Project1C++.exe and b/x64/Debug/Project1C++.exe differ
diff --git a/x64/Debug/Project1C++.pdb b/x64/Debug/Project1C++.pdb
index c0cdffb..a7ee62a 100644
Binary files a/x64/Debug/Project1C++.pdb and b/x64/Debug/Project1C++.pdb differ
diff --git a/合数分解.cpp b/合数分解.cpp
index 0912985..7a266b2 100644
--- a/合数分解.cpp
+++ b/合数分解.cpp
@@ -1,25 +1,25 @@
-#include
-using namespace std;
-
-int main() {
- int n,num=2;
- cin >> n;
- cout << n << "=";
- while (n!=1)
- {
- if (n/num==1)
- {
- cout << num;
- break;
- }
- if (n%num==0)
- {
- cout << num<<"*";
- n /= num;
- }else
- {
- num++;
- }
- }
- return 0;
-}
+//#include
+//using namespace std;
+//
+//int main() {
+// int n,num=2;
+// cin >> n;
+// cout << n << "=";
+// while (n!=1)
+// {
+// if (n/num==1)
+// {
+// cout << num;
+// break;
+// }
+// if (n%num==0)
+// {
+// cout << num<<"*";
+// n /= num;
+// }else
+// {
+// num++;
+// }
+// }
+// return 0;
+//}
diff --git a/计算平方和.cpp b/计算平方和.cpp
new file mode 100644
index 0000000..86a6337
--- /dev/null
+++ b/计算平方和.cpp
@@ -0,0 +1,31 @@
+//#include
+//using namespace std;
+//
+//int main() {
+// int n,sum=0;
+// cin >> n;
+// for (int i = 1; i <= n; i++)
+// {
+// int number = i, is_guan=0;
+// while (number != 0) {
+// if (number%10==7)
+// {
+// is_guan = 1;
+// break;
+// }
+// number /= 10;
+// }
+// if (i%7==0)
+// {
+// is_guan = 1;
+// }
+// if (is_guan)
+// {
+// continue;
+// }
+// cout << i<
+//using namespace std;
+//
+//int main() {
+// int n,count = 1;
+// cin >> n;
+// int sum = 0;
+// while (n>count)
+// {
+// sum += count * count;
+// //cout << sum << endl;
+// n -= count;
+// count++;
+// }
+// sum += n * count;
+// cout << sum;
+// return 0;
+//}