init commit

This commit is contained in:
2025-04-13 21:48:15 +03:00
commit 23255e9121
192 changed files with 12200 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#include <iostream>
class A {
std::string s;
public:
A(const std::string& s) : s(s) {}
~A() { std::cout << s << std::endl; }
};
void f() {
std::string s;
if (!(std::cin >> s)) {
throw 0;
}
A a(s);
f();
}
int main() {
try {
f();
}
catch (...) {
}
return 0;
}