Skip to content

Commit 99f6243

Browse files
committed
Changing "STDIN" to "$stdin".
1 parent 8d6864e commit 99f6243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Training/Medium/StockExchangeLosses/StockExchangeLosses.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class StockExchangeLosses implements Puzzle
1313
{
1414
public function execute($stdin): void
1515
{
16-
fscanf(STDIN, "%d", $n);
17-
$inputs = explode(" ", fgets(STDIN));
16+
fscanf($stdin, "%d", $n);
17+
$inputs = explode(" ", fgets($stdin));
1818
for ($i = 0; $i < $n; $i++)
1919
{
2020
$v = intval($inputs[$i]);

0 commit comments

Comments
 (0)