#2026
Determinati lungimea maximă a unui platou care poate să apară în şir în urma efectuării operatiunilor de maxim k ori sau elementul din care este format platoul.
| Problema | PlatouK | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 1.7 secunde | Limita memorie |
Total: 6 MB
/
Stivă 6 MB
|
| Id soluție | #63870376 | Utilizator | |
| Fișier | platouk.cpp | Dimensiune | 4.75 KB |
| Data încărcării | 23 Martie 2026, 19:43 | Scor/rezultat | Eroare de compilare |
platouk.cpp:6:22: warning: missing terminating ' character [enabled by default] <h2><b><u>1.</u> They're incredibly loyal</b></h2> ^ platouk.cpp:6:1: error: missing terminating ' character <h2><b><u>1.</u> They're incredibly loyal</b></h2> ^ platouk.cpp:7:49: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] Dogs connect with humans rather easily. They don't hold any grudges and they're always excited to see you, even if you just went to the bathroom. ^ platouk.cpp:7:49: warning: character constant too long for its type [enabled by default] platouk.cpp:10:76: warning: missing terminating ' character [enabled by default] When has petting a dog ever upset anyone?? They like it and you like it, it's a win-win situation. ^ platouk.cpp:10:1: error: missing terminating ' character When has petting a dog ever upset anyone?? They like it and you like it, it's a win-win situation. ^ platouk.cpp:12:22: warning: missing terminating ' character [enabled by default] <h2><b><u>3.</u> They're great companions</b></h2> ^ platouk.cpp:12:1: error: missing terminating ' character <h2><b><u>3.</u> They're great companions</b></h2> ^ platouk.cpp:13:68: warning: missing terminating ' character [enabled by default] Anytime you feel lonely, a dog can brighten your day. They also don't judge you which I consider a sweet, sweet bonus. ^ platouk.cpp:13:1: error: missing terminating ' character Anytime you feel lonely, a dog can brighten your day. They also don't judge you which I consider a sweet, sweet bonus. ^ platouk.cpp:18:22: warning: missing terminating ' character [enabled by default] <h2><b><u>5.</u> They're super expressive</b></h2> ^ platouk.cpp:18:1: error: missing terminating ' character <h2><b><u>5.</u> They're super expressive</b></h2> ^ platouk.cpp:25:95: warning: missing terminating ' character [enabled by default] Some are goofy, some are chill, some are super energetic and some are genuinely autistic. They're like flavors and I love them all <3 ^ platouk.cpp:25:1: error: missing terminating ' character Some are goofy, some are chill, some are super energetic and some are genuinely autistic. They're like flavors and I love them all <3 ^ platouk.cpp:29:6: warning: missing terminating ' character [enabled by default] I don't have an eigth reason, I just really like dogs. They remind me of cute sharks ready to feast, just look at those faces (ᗒᗩᗕ)♡♡♡ ^ platouk.cpp:29:1: error: missing terminating ' character I don't have an eigth reason, I just really like dogs. They remind me of cute sharks ready to feast, just look at those faces (ᗒᗩᗕ)♡♡♡ ^ platouk.cpp:53:1: error: stray '\342' in program 2 poze : <h1>Feast thy eyes on these cute doggies ♡♡♡</h1> ^ platouk.cpp:53:1: error: stray '\231' in program platouk.cpp:53:1: error: stray '\241' in program platouk.cpp:53:1: error: stray '\342' in program platouk.cpp:53:1: error: stray '\231' in program platouk.cpp:53:1: error: stray '\241' in program platouk.cpp:53:1: error: stray '\342' in program platouk.cpp:53:1: error: stray '\231' in program platouk.cpp:53:1: error: stray '\241' in program platouk.cpp:71:27: warning: missing terminating ' character [enabled by default] <p>I know the last one isn't a dog, it just made me laugh.</p> ^ platouk.cpp:71:1: error: missing terminating ' character <p>I know the last one isn't a dog, it just made me laugh.</p> ^ platouk.cpp:1:1: error: 'home' does not name a type home.html : <body> ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema PlatouK 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ă.