feat(php): 1A (not passed yet)

This commit is contained in:
tiennm99 committed 2025-11-30 15:06:17 +07:00
1 parent 2a2e4d6931
commit c569677456
2 files changed
+8

No files matched your search

+1
View File
@@ -0,0 +1 @@
.idea
+7
View File
@@ -0,0 +1,7 @@
<?php
fscanf(STDIN, "%d %d %d", $n, $m, $a);
$tilesN = intdiv($n + $a - 1, $a);
$tilesM = intdiv($m + $a - 1, $a);
echo $tilesN * $tilesM;