March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -15,7 +15,7 @@ char * string_repeat( int n, const char * s ) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
char * result = string_repeat(5, "ha")
|
||||
char * result = string_repeat(5, "ha");
|
||||
puts(result);
|
||||
free(result);
|
||||
return 0;
|
||||
|
|
|
|||
1
Task/Repeat-a-string/Ruby/repeat-a-string.rb
Normal file
1
Task/Repeat-a-string/Ruby/repeat-a-string.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
"ha" * 5 # ==> "hahahahaha"
|
||||
Loading…
Add table
Add a link
Reference in a new issue