mirror of
https://github.com/tiennm99/codeforces.git
synced 2026-10-11 03:13:15 +00:00
feat(php): 1A (not passed yet)
This commit is contained in:
1 parent
2a2e4d6931
commit
c569677456
2 files changed
+8
No files matched your search
@@ -0,0 +1 @@
|
||||
.idea
|
||||
@@ -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;
|
||||
Reference in new issue
Block a user