Небольшие правки
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,8 @@
|
||||
# ---> C++
|
||||
*.ilk
|
||||
*.pdb
|
||||
.vscode
|
||||
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
|
||||
8
t.cpp
8
t.cpp
@@ -11,6 +11,7 @@ https://www.onlinegdb.com/online_c++_compiler
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
|
||||
void kek(std::string str)
|
||||
{
|
||||
std::cout << str;
|
||||
@@ -18,9 +19,7 @@ void kek(std::string str)
|
||||
std::string braket;
|
||||
for (auto s : str)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int main()
|
||||
@@ -28,6 +27,11 @@ int main()
|
||||
std::cout << "Hello World" << std::endl;
|
||||
|
||||
kek("c2[a]3[b]c");
|
||||
kek("231[ab]");
|
||||
kek("c2[a]3[b]c");
|
||||
kek("3[b15[a]]");
|
||||
|
||||
std::string wait;
|
||||
std::cin >> wait;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user