Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5adf46

Browse files
remote_local_diff_fix
1 parent 7d73611 commit b5adf46

File tree

9 files changed

+39
-35
lines changed

9 files changed

+39
-35
lines changed

‎Atcoder/PHP/185.ABC/A.blade.php

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎Atcoder/PHP/185.ABC/A.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
fscanf(STDIN, "%d%d%d%d", $a, $b, $c, $d);
3+
4+
$array = [$a, $b, $c, $d];
5+
$s = min($array);
6+
7+
echo $s;
8+
?>

‎Atcoder/PHP/186.ABC/A.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
fscanf(STDIN, "%d%d", $N, $W);
3+
echo floor($N / $W);
4+
5+
?>

‎Atcoder/PHP/186.ABC/A.tpl

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎Atcoder/PHP/191.ABC/A.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
fscanf(STDIN, "%d%d%d%d", $a, $b, $c, $d);
3+
if ($a * $b <= $d && $d <= $a * $c) {
4+
echo "No";
5+
} else {
6+
echo "Yes";
7+
}
8+
?>

‎Atcoder/PHP/191.ABC/A.twig

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎Atcoder/PHP/191.ABC/B.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
fscanf(STDIN, "%d%d", $evis, $jap);
3+
$sub = explode("", trim(fgets(STDIN)));
4+
$sabu = array_map(function ($value) {
5+
return (int)$value;
6+
}, $sub);
7+
8+
for ($i = 0; $i < $evis; $i++) {
9+
if ($sabu[$i] == $jap) {
10+
unset($sabu[$i]);
11+
}
12+
}
13+
if (count($sabu) == 0) {
14+
echo "";
15+
} else {
16+
echo implode("", $sabu);
17+
}

‎Atcoder/PHP/191.ABC/B.twig

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
fscanf(STDIN, "%d", $a);
33

4-
echo abs(($a%100)-100);
4+
echo abs(($a % 100) - 100);
55
?>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /