chore: add findingAnA program

main
CrimsonTome 2023-02-06 12:19:55 +00:00 committed by Rowan Clark
parent 3748695e70
commit 7843db9512
No known key found for this signature in database
GPG Key ID: F620D51904044094
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
"files.associations": {
"iostream": "cpp"
"iostream": "cpp",
"*.tcc": "cpp"
}
}

10
findingAnA/main.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <iostream>
#include <string>
using namespace std;
int main(){
string x = "";
cin >> x;
cout << x.substr(x.find('a'), x.length());
return 0;
}