#264
MaxCif
Se dau mai multe numere naturale formate din exact o cifră. Determinaţi cifrele cu număr maxim de apariţii.
Problema | MaxCif | Operații I/O |
![]() maxcif.in /maxcif.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #57663160 | Utilizator | |
Fișier | maxcif.cs | Dimensiune | 1.77 KB |
Data încărcării | 09 Aprilie 2025, 15:24 | Scor / rezultat | Eroare de compilare |
Compilation failed: 14 error(s), 0 warnings maxcif.cs(16,27): error CS1525: Unexpected symbol \`line', expecting \`.' maxcif.cs(32,19): error CS1519: Unexpected symbol \`for' in class, struct, or interface member declaration maxcif.cs(32,35): error CS1519: Unexpected symbol \`<' in class, struct, or interface member declaration maxcif.cs(32,43): error CS1519: Unexpected symbol \`++' in class, struct, or interface member declaration maxcif.cs(34,35): error CS1519: Unexpected symbol \`i' in class, struct, or interface member declaration maxcif.cs(34,36): error CS1519: Unexpected symbol \`]' in class, struct, or interface member declaration maxcif.cs(34,45): error CS1519: Unexpected symbol \`)' in class, struct, or interface member declaration maxcif.cs(35,31): error CS1519: Unexpected symbol \`=' in class, struct, or interface member declaration maxcif.cs(35,43): error CS1519: Unexpected symbol \`i' in class, struct, or interface member declaration maxcif.cs(35,44): error CS1519: Unexpected symbol \`]' in class, struct, or interface member declaration maxcif.cs(38,17): error CS1525: Unexpected symbol \`TextWriter' maxcif.cs(38,40): error CS1514: Unexpected symbol \`new', expecting \`.' or \`{' maxcif.cs(38,38): error CS1530: Keyword \`new' is not allowed on namespace elements maxcif.cs(38,41): error CS1525: Unexpected symbol \`StreamWriter'
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema MaxCif 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ă.