OII logo
  • Home
    • School selections
    • Regionals
    • Nationals & OIS
    • Tasks by technique
    • Tasks by contest
    • Tasks by year
  • Ranking
  • Algobadge
  • Forum
Log in / Sign up

Black Friday

Time limit: 0.2 sec
Memory limit: 64 MB
Input/output: stdin / stdout
Maximum score: 79
Translations:
English
Uploaded on: 29 November 2017
StatementAttachmentsTagsStatsSubmitSubmissionsHelp

Forum posts

lollospadalaser's profile picture
Black Friday (giftcard)
Ho risolto https://training.olinfo.it/#/task/ois_giftcard/statement questo problema. quello che ho fatto è: dividere N,C1,C2 per il loro gcd, trovare due interi x e y tali che xC1 + yC2 = 1 poi ho ...
v.bizzarri's profile picture
Black Friday (giftcard)
Visto che il testo chiede: You need to write a single line with two strictly positive integers : respectively, the number of objects of type one and type two that Luca should buy, in order to spend...
Search other topics
Create new topic