summaryrefslogtreecommitdiffstats
path: root/šola/p1/dn/DN00_63230317.java
diff options
context:
space:
mode:
Diffstat (limited to 'šola/p1/dn/DN00_63230317.java')
-rw-r--r--šola/p1/dn/DN00_63230317.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/šola/p1/dn/DN00_63230317.java b/šola/p1/dn/DN00_63230317.java
new file mode 100644
index 0000000..763b46b
--- /dev/null
+++ b/šola/p1/dn/DN00_63230317.java
@@ -0,0 +1,10 @@
+import java.util.*;
+public class DN00_63230317 {
+ public static void main (String[] args) {
+ Scanner sc = new Scanner(System.in);
+ int b = sc.nextInt();
+ int p = sc.nextInt();
+ System.out.println(b/p);
+ System.out.println(b%p);
+ }
+}