diff --git "a/BaekJoon/10809_\354\225\214\355\214\214\353\262\263 \354\260\276\352\270\260.cpp" "b/BaekJoon/10809_\354\225\214\355\214\214\353\262\263 \354\260\276\352\270\260.cpp" new file mode 100644 index 0000000..1ff8b27 --- /dev/null +++ "b/BaekJoon/10809_\354\225\214\355\214\214\353\262\263 \354\260\276\352\270\260.cpp" @@ -0,0 +1,17 @@ +#include +using namespace std; + +int main(void) { + string word; + cin>>word; + vector result; + result = vector(26,-1); + for(int i=0;i +#include +using namespace std; + +int main() { + string input; + cin>>input; + int max = 0; + int temp = 0; + int temp2=0; + vector every(26,0); + for(int i=0; i +using namespace std; + +int main() { + char input; + cin>>input; + cout<<(int)input< +#include +using namespace std; + +int main(void) { + vector input; + input.resize(1); + int n=0; + cin>>n; + cin>>input[0]; + int sum = 0; + for(int i=0; i +#include +using namespace std; +vector result; +void repeat(int k, int n, const string& str) { + for(int i=0; i>testCase; + int repeatNum = 0; + string input; + result.resize(testCase); + for(int i=0; i>repeatNum>>input; + repeat(i, repeatNum, input); + } + for(int i=0; i