Home
Tasks
School selections
Regionals
Nationals & OIS
Tasks by technique
Tasks by contest
Tasks by year
Ranking
Learning materials
OII Guide
Algobadge
Forum
Diaries
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
Vending Machines
Time limit:
1 sec
Memory limit:
256 MB
Input/output:
stdin / stdout
Maximum score:
10
Translations:
English
Uploaded on:
16 November 2022
Statement
Attachments
Tags
Stats
Submit
Submissions
Help
Forum posts
Vending Machines
(vendingmachines)
Mi dice terminate called after throwing an instance of 'std::length_error' what(): cannot create std::vector larger than max_size() con questo input 2 5 5 4 14 14 30 24 -4 +19 -5 +27 +27 10 10 22 1...
Vending Machines
Salve, questo è il mio codice per il problema "
Vending Machines
" Ho fatto 50/100 ma non mi trovo ad un problema della sub-categoria 3, nonostante io mi trovi a tut...
Vending Machines
#include < bits/stdc++.h > using namespace std; int main() { //ifstream cin("input.txt"); //ofstream cout("output.txt"); int T; cin > > T; for (int t = 0; t < T; ++t) { int N, Q; cin > > N > > Q; v...
Search other topics
Create new topic