#4370
kda
Dându-se o listă conținând KDA-urilor celor N
prieteni ai lui Gigel și mărimea unei echipe k
, Gigel dorește să afle care este qE
-ul celei mai neechilibrate echipe. Astfel el calculează qE
-ul tuturor echipelor posibile (\(\frac{N!}{k!(N-k)!}\) la număr) și apoi alege qE
-ul maxim posibil.
Info-Oltenia 2023, individual 10
Problema | kda | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 128 MB
/
Stivă 64 MB
|
Id soluție | #51962662 | Utilizator | |
Fișier | kda.cpp | Dimensiune | 2.86 KB |
Data încărcării | 12 Septembrie 2024, 18:51 | Scor / rezultat | Eroare de compilare |
kda.cpp:3:1: error: stray '\304' in program Schimbare temă ^ kda.cpp:3:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\304' in program Se pare că încă nu ți-ai verificat emailul. Apasă aici dacă trebuie să reprimești verificarea. ^ kda.cpp:6:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\303' in program kda.cpp:6:1: error: stray '\256' in program kda.cpp:6:1: error: stray '\304' in program kda.cpp:6:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\310' in program kda.cpp:6:1: error: stray '\233' in program kda.cpp:6:1: error: stray '\304' in program kda.cpp:6:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\304' in program kda.cpp:6:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\304' in program kda.cpp:6:1: error: stray '\203' in program kda.cpp:6:1: error: stray '\310' in program kda.cpp:6:1: error: stray '\231' in program kda.cpp:7:10: error: stray '#' in program Submisia #219934 ^ kda.cpp:8:1: error: stray '\310' in program Informații ^ kda.cpp:8:1: error: stray '\233' in program kda.cpp:11:1: error: stray '\303' in program Data încărcării 27/02/2024 10:00 ^ kda.cpp:11:1: error: stray '\256' in program kda.cpp:11:1: error: stray '\304' in program kda.cpp:11:1: error: stray '\203' in program kda.cpp:11:1: error: stray '\304' in program kda.cpp:11:1: error: stray '\203' in program kda.cpp:19:8: error: ":" is not a valid filename #219934: 27/02/2024 10:00100 ^ kda.cpp:20:8: error: ":" is not a valid filename #219929: 27/02/2024 09:58100 ^ kda.cpp:21:8: error: ":" is not a valid filename #219926: 27/02/2024 09:58100 ^ kda.cpp:22:8: error: ":" is not a valid filename #219924: 27/02/2024 09:580 ^ kda.cpp:23:8: error: ":" is not a valid filename #219921: 27/02/2024 09:56100 ^ kda.cpp:24:1: error: stray '\303' in program Vezi încă 12 submisii ^ kda.cpp:24:1: error: stray '\256' in program kda.cpp:24:1: error: stray '\304' in program kda.cpp:24:1: error: stray '\203' in program kda.cpp:48:1: error: stray '\304' in program Codul Sursă: ^ kda.cpp:48:1: error: stray '\203' in program kda.cpp:108:5: error: stray '\304' in program Pagina principală ^ kda.cpp:108:5: error: stray '\203' in program kda.cpp:109:5: error: stray '\304' in program Donează ^ kda.cpp:109:5: error: stray '\203' in program kda.cpp:113:5: error: stray '\304' in program Postări ^ kda.cpp:113:5: error: stray '\203' in program kda.cpp:115:1: error: stray '\304' in program Limbă afișaj ^ kda.cpp:115:1: error: stray '\203' in program kda.cpp:115:1: error: stray '\310' in program kda.cpp:115:1: error: stray '\231' in program kda.cpp:116:1: error: stray '\310' in program Alte informații ^ kda.cpp:116:1: error: stray '\233' in program kda.cpp:118:16: error: too many decimal points in number Kilonova v0.25.0 ^ kda.cpp:126:5: error: stray '\310' in program Platform made with by Alex Vasiluță ^ kda.cpp:126:5: error: stray '\233' in program kda.cpp:126:5: error: stray '\304' in program kda.cpp:126:5: error: stray '\203' in program kda.cpp:129:5: error: stray '\310' in program Cu excepția cazurilor unde este specificat diferit, conținutul platformei este publicat sub licența CC BY-NC-SA 4.0. Vedeți aici mai multe detalii. Creative Commons Licence ^ kda.cpp:129:5: error: stray '\233' in program kda.cpp:129:5: error: stray '\310' in program kda.cpp:129:5: error: stray '\233' in program kda.cpp:129:5: error: stray '\310' in program kda.cpp:129:5: error: stray '\233' in program kda.cpp:129:120: error: too many decimal points in number Cu excepția cazurilor unde este specificat diferit, conținutul platformei este publicat sub licența CC BY-NC-SA 4.0. Vedeți aici mai multe detalii. Creative Commons Licence ^ kda.cpp:129:5: error: stray '\310' in program Cu excepția cazurilor unde este specificat diferit, conținutul platformei este publicat sub licența CC BY-NC-SA 4.0. Vedeți aici mai multe detalii. Creative Commons Licence ^ kda.cpp:129:5: error: stray '\233' in program kda.cpp:2:1: error: 'Kilonova' does not name a type Kilonova ^ kda.cpp: In function 'int main()': kda.cpp:93:38: error: 'midpoint' was not declared in this scope const ll mid = midpoint(lo,hi); ^ kda.cpp: At global scope: kda.cpp:106:1: error: 'Link' does not name a type Link-uri utile ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema kda 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ă.