Home
Tasks
School selections
Regionals
Nationals & OIS
Tasks by technique
Tasks by contest
Tasks by year
Ranking
Algobadge
Forum
Italiano
Italiano
English
English
Polski
Polski
Deutsch
Deutsch (beta)
Español
Español (beta)
Français
Français (beta)
Română
Română (beta)
Magyar
Magyar (beta)
Log in / Sign up
Greedy Santa
Time limit:
0.8 sec
Memory limit:
64 MB
Input/output:
stdin / stdout
Maximum score:
19
Translations:
English
Uploaded on:
27 October 2018
Statement
Attachments
Tags
Stats
Submit
Submissions
Help
Forum posts
[RISOLTO] Ottimizzazione:
Greedy Santa
Come devo applicare la memoizzazione per ottimare il problema
Greedy Santa
. Codice: int greedy_santa(int gift[], int i, int sum) { if(gift[i] + sum > = M) { return gift[i] +...
Output non corretto su
Greedy Santa
, subtask non valide quando dovrebbero
...n la sottposizione e la valutazione sulla piattaforma… Oggi in particolare sto provando a risolvere
greedy santa
, ma ritorna errata la subtask di esempio nr 001, che richiede output 10. Provando in locale, otteng...
Aiuto
Greedy Santa
Ciao, ho scritto un codice per
Greedy Santa
, ottengo corrette tutte le subtasks tranne 2, probabilmente mi perdo qualcosa di ovvio, ma non lo t...
HELP
Greedy Santa
sottoponendo il seguente codice ottengo 30 punti e non capisco perchè non fa le altre subtask: with open("input.txt","r") as f: N,B=map(int,f.readline().strip().split()) v=list(map(int,f.readline()...
Problem ‘
Greedy Santa
’
Good evening. On Subtask 2 (N < = 20), on three tasks, I get the wrong output. Otherwise all outputs are correct. Does anyone know what could be the reason for this? #include < stdio.h > #include <...
Search other topics
Create new topic