diff options
Diffstat (limited to 'problems/theshopowner/attachments/template.js')
-rw-r--r-- | problems/theshopowner/attachments/template.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/problems/theshopowner/attachments/template.js b/problems/theshopowner/attachments/template.js new file mode 100644 index 0000000..ecb01d7 --- /dev/null +++ b/problems/theshopowner/attachments/template.js @@ -0,0 +1,14 @@ +const d = parseInt(readline()); +const c = parseInt(readline()); +const n = parseInt(readline()); +for (let i = 0; i < n; i++) { + var inputs = readline().split(' '); + const unitCost = parseInt(inputs[0]); + const unitRevenue = parseInt(inputs[1]); + const quantity = parseInt(inputs[2]); +} + +// Write an answer using console.log() +// To debug: console.error('Debug messages...'); + +console.log('answer'); |