Skip to content

Commit 263b6dc

Browse files
remove un-necessary file
1 parent e65e40b commit 263b6dc

File tree

13 files changed

+75
-162
lines changed

13 files changed

+75
-162
lines changed

Find all factorial numbers less than or equal to N

Lines changed: 0 additions & 47 deletions
This file was deleted.

Find the highest occurring digit in prime numbers in a range

Lines changed: 0 additions & 33 deletions
This file was deleted.

Holiday of equality

Lines changed: 0 additions & 16 deletions
This file was deleted.

SetupC++.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Setup C++ on mac
2+
cd .vscode
3+
curl --remote-name-all https://raw.githubusercontent.com/CSE232-MSU/CSE232-VSCCONF/main/macos/\{launch.json,tasks.json,c_cpp_properties.json\}
4+

Untitled-1.bin

-39.1 KB
Binary file not shown.

Untitled-1.cpp

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 46 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,52 @@
1-
// #include<bits/stdc++.h>
2-
#include<iostream>
3-
using namespace std;
1+
#include <iostream>
2+
#include <vector>
3+
#include <string>
44

5-
vector<vector<int>> merge(vector<vector<int>>& intervals) {
6-
sort(intervals.begin(),intervals.end());
7-
vector<vector<int>>ans;
8-
for(int i=0;i<intervals.size();i++){
9-
int start = intervals[i][0];
10-
int end = intervals[i][1];
11-
while(i<end>=intervals[i][1]){
5+
int main()
6+
{
7+
std::vector<std::string> msg{"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};
128

13-
}
9+
for (std::string const &word : msg)
10+
{
11+
std::cout << word << " ";
1412
}
15-
return ans;
13+
std::cout << std::endl;
1614
}
1715

18-
int main(){
19-
int n;
20-
cin>>n;
21-
vector<vector<int>>arr(n,vector<int>(2));
22-
for(int i=0;i<n;i++){
23-
int s;
24-
int e;
25-
cin>>s>>e;
26-
vector<int>temp(2);
27-
temp.push_back(s);
28-
temp.push_back(e);
29-
arr.push_back(temp);
30-
}
16+
17+
// // #include<bits/stdc++.h>
18+
// #include<iostream>
19+
// using namespace std;
20+
21+
// vector<vector<int>> merge(vector<vector<int>>& intervals) {
22+
// sort(intervals.begin(),intervals.end());
23+
// vector<vector<int>>ans;
24+
// for(int i=0;i<intervals.size();i++){
25+
// int start = intervals[i][0];
26+
// int end = intervals[i][1];
27+
// while(i<end>=intervals[i][1]){
28+
29+
// }
30+
// }
31+
// return ans;
32+
// }
33+
34+
// int main(){
35+
// int n;
36+
// cin>>n;
37+
// vector<vector<int>>arr(n,vector<int>(2));
38+
// for(int i=0;i<n;i++){
39+
// int s;
40+
// int e;
41+
// cin>>s>>e;
42+
// vector<int>temp(2);
43+
// temp.push_back(s);
44+
// temp.push_back(e);
45+
// arr.push_back(temp);
46+
// }
3147

32-
vector<vector<int>>ans= merge(arr);
33-
for(int i=0;i<ans.size();i++){
34-
cout<<ans[i][0]<<" "<<ans[i][1]<<"\n";
35-
}
36-
}
48+
// vector<vector<int>>ans= merge(arr);
49+
// for(int i=0;i<ans.size();i++){
50+
// cout<<ans[i][0]<<" "<<ans[i][1]<<"\n";
51+
// }
52+
// }

leetcode/array/a.out

70.6 KB
Binary file not shown.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>English</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.apple.xcode.dsym.a.out</string>
9+
<key>CFBundleInfoDictionaryVersion</key>
10+
<string>6.0</string>
11+
<key>CFBundlePackageType</key>
12+
<string>dSYM</string>
13+
<key>CFBundleSignature</key>
14+
<string>????</string>
15+
<key>CFBundleShortVersionString</key>
16+
<string>1.0</string>
17+
<key>CFBundleVersion</key>
18+
<string>1</string>
19+
</dict>
20+
</plist>
192 KB
Binary file not shown.

0 commit comments

Comments
 (0)