added double jump and sitting state
This commit is contained in:
		
							parent
							
								
									2e5c5a8dde
								
							
						
					
					
						commit
						90d07dde3f
					
				
					 148 changed files with 13050 additions and 0 deletions
				
			
		|  | @ -0,0 +1,24 @@ | |||
| #include <iostream> | ||||
| #include <string> | ||||
| 
 | ||||
| using namespace std; | ||||
| 
 | ||||
| string operator*(const string str, int n) { | ||||
|     string result; | ||||
|     for (int i = 0; i < n; ++i) | ||||
|         result += str;  | ||||
|     return result; | ||||
| } | ||||
| 
 | ||||
| string operator*(int n, const string str) { | ||||
|     string result; | ||||
|     for (int i = 0; i < n; ++i) | ||||
|         result += str;  | ||||
|     return result; | ||||
| } | ||||
| 
 | ||||
| int main() { | ||||
|     string meow; | ||||
|     cin >> meow; | ||||
|     cout << 3 * meow << endl; | ||||
| } | ||||
		Reference in a new issue