#2109
Dineu
La un dineu participă reprezentanţii mai multor state. Fiecare reprezentant cunoaşte un număr de limbi străine. Doi reprezentanţi vor putea discuta direct dacă există cel puţin o limbă pe care o înţeleg amândoi. Organizatorii dineului doresc să existe cel puţin o masă la care să nu fie nevoie de translator, astfel oricare două persoane care stau la această masă să se înţeleagă direct.
Cunoscând N
– numărul de reprezentanţi, identificăm fiecare reprezentant cu un număr natural cuprins între 1
şi N
, L
– numărul limbilor străine care se vorbesc la dineu (acestea sunt codificate prin numerele naturale de la 1
la L
), numărul de limbi vorbite de fiecare reprezentant şi codurile acestora să se determine numărul maxim de persoane care pot sta la o masa fără translator.
Olimpiada Municipala Informatica Iasi 2013
Problema | Dineu | Operații I/O |
dineu.in /dineu.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 2 MB
/
Stivă 1 MB
|
Id soluție | #51610232 | Utilizator | |
Fișier | dineu.cpp | Dimensiune | 3.79 KB |
Data încărcării | 20 Iulie 2024, 18:50 | Scor / rezultat | Eroare de compilare |
dineu.cpp:1:1: error: stray '\304' in program Rezolvări ^ dineu.cpp:1:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\237' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\303' in program dineu.cpp:2111:1: error: stray '\256' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\303' in program dineu.cpp:2111:1: error: stray '\242' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2111:1: error: stray '\303' in program dineu.cpp:2111:1: error: stray '\256' in program dineu.cpp:2111:1: error: stray '\305' in program dineu.cpp:2111:1: error: stray '\243' in program dineu.cpp:2111:1: error: stray '\304' in program dineu.cpp:2111:1: error: stray '\203' in program dineu.cpp:2113:1: error: stray '\310' in program dineu.cpp:2113:1: error: stray '\233' in program dineu.cpp:2114:1: error: stray '\303' in program dineu.cpp:2114:1: error: stray '\242' in program dineu.cpp:2114:1: error: stray '\342' in program dineu.cpp:2114:1: error: stray '\200' in program dineu.cpp:2114:1: error: stray '\223' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\305' in program dineu.cpp:2114:1: error: stray '\243' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\303' in program dineu.cpp:2114:1: error: stray '\256' in program dineu.cpp:2114:1: error: stray '\305' in program dineu.cpp:2114:1: error: stray '\237' in program dineu.cpp:2114:1: error: stray '\342' in program dineu.cpp:2114:1: error: stray '\200' in program dineu.cpp:2114:1: error: stray '\223' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\305' in program dineu.cpp:2114:1: error: stray '\237' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2114:1: error: stray '\304' in program dineu.cpp:2114:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\237' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\243' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\237' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\243' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\243' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\243' in program dineu.cpp:2117:1: error: stray '\303' in program dineu.cpp:2117:1: error: stray '\242' in program dineu.cpp:2117:1: error: stray '\303' in program dineu.cpp:2117:1: error: stray '\256' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\342' in program dineu.cpp:2117:1: error: stray '\211' in program dineu.cpp:2117:1: error: stray '\244' in program dineu.cpp:2117:1: error: stray '\342' in program dineu.cpp:2117:1: error: stray '\211' in program dineu.cpp:2117:1: error: stray '\244' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\304' in program dineu.cpp:2117:1: error: stray '\203' in program dineu.cpp:2117:1: error: stray '\303' in program dineu.cpp:2117:1: error: stray '\242' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\237' in program dineu.cpp:2117:1: error: stray '\303' in program dineu.cpp:2117:1: error: stray '\242' in program dineu.cpp:2117:1: error: stray '\305' in program dineu.cpp:2117:1: error: stray '\243' in program dineu.cpp:2119:1: error: stray '\310' in program dineu.cpp:2119:1: error: stray '\231' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\237' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\237' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\243' in program dineu.cpp:2120:1: error: stray '\304' in program dineu.cpp:2120:1: error: stray '\203' in program dineu.cpp:2120:1: error: stray '\304' in program dineu.cpp:2120:1: error: stray '\203' in program dineu.cpp:2120:1: error: stray '\304' in program dineu.cpp:2120:1: error: stray '\203' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\243' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\237' in program dineu.cpp:2120:1: error: stray '\304' in program dineu.cpp:2120:1: error: stray '\203' in program dineu.cpp:2120:1: error: stray '\304' in program dineu.cpp:2120:1: error: stray '\203' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\237' in program dineu.cpp:2120:1: error: stray '\303' in program dineu.cpp:2120:1: error: stray '\242' in program dineu.cpp:2120:1: error: stray '\305' in program dineu.cpp:2120:1: error: stray '\243' in program dineu.cpp:2122:1: error: stray '\310' in program dineu.cpp:2122:1: error: stray '\233' in program dineu.cpp:2122:1: error: stray '\310' in program dineu.cpp:2122:1: error: stray '\231' in program dineu.cpp:2122:1: error: stray '\304' in program dineu.cpp:2122:1: error: stray '\203' in program dineu.cpp:2123:1: error: stray '\342' in program dineu.cpp:2123:1: error: stray '\200' in program dineu.cpp:2123:1: error: stray '\242' in program dineu.cpp:2124:1: error: stray '\342' in program dineu.cpp:2124:1: error: stray '\200' in program dineu.cpp:2124:1: error: stray '\242' in program dineu.cpp:2125:1: error: stray '\342' in program dineu.cpp:2125:1: error: stray '\200' in program dineu.cpp:2125:1: error: stray '\242' in program dineu.cpp:2126:1: error: stray '\342' in program dineu.cpp:2126:1: error: stray '\200' in program dineu.cpp:2126:1: error: stray '\242' in program dineu.cpp:2126:1: error: stray '\304' in program dineu.cpp:2126:1: error: stray '\203' in program dineu.cpp:2126:1: error: stray '\304' in program dineu.cpp:2126:1: error: stray '\203' in program dineu.cpp:2126:1: error: stray '\305' in program dineu.cpp:2126:1: error: stray '\243' in program dineu.cpp:2126:1: error: stray '\305' in program dineu.cpp:2126:1: error: stray '\237' in program dineu.cpp:2126:1: error: stray '\304' in program dineu.cpp:2126:1: error: stray '\203' in program dineu.cpp:2142:1: error: stray '\310' in program dineu.cpp:2142:1: error: stray '\233' in program dineu.cpp:2143:1: error: stray '\303' in program dineu.cpp:2143:1: error: stray '\256' in program dineu.cpp:2144:1: error: stray '\303' in program dineu.cpp:2144:1: error: stray '\256' in program dineu.cpp:2145:1: error: stray '\303' in program dineu.cpp:2145:1: error: stray '\256' in program dineu.cpp:2146:1: error: stray '\303' in program dineu.cpp:2146:1: error: stray '\256' in program dineu.cpp:2147:1: error: stray '\303' in program dineu.cpp:2147:1: error: stray '\256' in program dineu.cpp:2148:1: error: stray '\303' in program dineu.cpp:2148:1: error: stray '\256' in program dineu.cpp:2149:1: error: stray '\304' in program dineu.cpp:2149:1: error: stray '\203' in program dineu.cpp:2149:1: error: stray '\305' in program dineu.cpp:2149:1: error: stray '\237' in program dineu.cpp:2149:1: error: stray '\305' in program dineu.cpp:2149:1: error: stray '\243' in program dineu.cpp:2149:1: error: stray '\305' in program dineu.cpp:2149:1: error: stray '\243' in program dineu.cpp:2156:1: error: stray '\304' in program dineu.cpp:2156:1: error: stray '\203' in program dineu.cpp:1:1: error: 'Rezolv' does not name a type Rezolvări ^ cc1plus: out of memory allocating 1677721600 bytes after a total of 778240 bytes
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Dineu face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.