Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
7 changes: 7 additions & 0 deletions .history/Marwa-Abdelmonem_20250628151726.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <iostream>
using namespace std;
int main()
{
int n; cin>>n;
cout<< (n * (n-1)) / 2;
}
6 changes: 6 additions & 0 deletions .lh/.lhignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# list file to not track by the local-history extension. comment line starts with a '#' character
# each line describe a regular expression pattern (search for 'Javascript regex')
# it will relate to the workspace directory root. for example:
# '.*\.txt' ignores any file with 'txt' extension
# '/test/.*' ignores all the files under the 'test' directory
# '.*/test/.*' ignores all the files under any 'test' directory (even under sub-folders)
18 changes: 18 additions & 0 deletions .lh/Marwa-Abdelmonem.md.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"sourceFile": "Marwa-Abdelmonem.md",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 0,
"patches": [
{
"date": 1751113046342,
"content": "Index: \n===================================================================\n--- \n+++ \n"
}
],
"date": 1751113046342,
"name": "Commit-0",
"content": "#include <iostream>\r\nusing namespace std;\r\nint main()\r\n{\r\n int n; cin>>n;\r\n cout<< (n * (n-1)) / 2;\r\n}"
}
]
}
7 changes: 7 additions & 0 deletions Marwa-Abdelmonem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <iostream>
using namespace std;
int main()
{
int n; cin>>n;
cout<< (n * (n-1)) / 2;
}