chore: add findingAnA program
parent
3748695e70
commit
7843db9512
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"iostream": "cpp"
|
||||
"iostream": "cpp",
|
||||
"*.tcc": "cpp"
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue