aboutsummaryrefslogtreecommitdiff
path: root/problems/theshopowner/attachments/template.java
diff options
context:
space:
mode:
Diffstat (limited to 'problems/theshopowner/attachments/template.java')
-rw-r--r--problems/theshopowner/attachments/template.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/problems/theshopowner/attachments/template.java b/problems/theshopowner/attachments/template.java
new file mode 100644
index 0000000..8a9f35a
--- /dev/null
+++ b/problems/theshopowner/attachments/template.java
@@ -0,0 +1,23 @@
+import java.util.*;
+import java.io.*;
+import java.math.*;
+
+class Solution {
+
+ public static void main(String args[]) {
+ Scanner in = new Scanner(System.in);
+ int d = in.nextInt();
+ int c = in.nextInt();
+ int n = in.nextInt();
+ for (int i = 0; i < n; i++) {
+ int unitCost = in.nextInt();
+ int unitRevenue = in.nextInt();
+ int quantity = in.nextInt();
+ }
+
+ // Write an answer using System.out.println()
+ // To debug: System.err.println("Debug messages...");
+
+ System.out.println("answer");
+ }
+}