Created
November 19, 2023 02:22
-
-
Save bz0/5265e3a32d65ae03c7a78f031e958472 to your computer and use it in GitHub Desktop.
競プロ 関数まとめ(PHP)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 入力複数行の取得 | |
function multi_line() { | |
$input = []; | |
while ($line = fgets(STDIN)) { | |
$input[] = trim($line); | |
} | |
return $input; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment