#3185
Concurs1
La un concurs pot participa copii cu vârste între a
și b
inclusiv. Gigel are n
ani. Stabiliți dacă poate participa la concurs.
Problema | Concurs1 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #52821466 | Utilizator | |
Fișier | concurs1.cpp | Dimensiune | 429 B |
Data încărcării | 10 Octombrie 2024, 09:41 | Scor / rezultat | Eroare de compilare |
concurs1.cpp:1:1: error: stray '\310' in program Cerința ^ concurs1.cpp:1:1: error: stray '\233' in program concurs1.cpp:2:1: error: stray '\303' in program La un concurs pot participa copii cu vârste între a și b ani, inclusiv. Gigel are n ani. Stabiliți dacă poate participa la concurs. ^ concurs1.cpp:2:1: error: stray '\242' in program concurs1.cpp:2:1: error: stray '\303' in program concurs1.cpp:2:1: error: stray '\256' in program concurs1.cpp:2:1: error: stray '\310' in program concurs1.cpp:2:1: error: stray '\231' in program concurs1.cpp:2:1: error: stray '\310' in program concurs1.cpp:2:1: error: stray '\233' in program concurs1.cpp:2:1: error: stray '\304' in program concurs1.cpp:2:1: error: stray '\203' in program concurs1.cpp:5:1: error: stray '\310' in program Programul citește de la tastatură numerele naturale a b n. ^ concurs1.cpp:5:1: error: stray '\231' in program concurs1.cpp:5:1: error: stray '\304' in program concurs1.cpp:5:1: error: stray '\203' in program concurs1.cpp:7:1: error: stray '\310' in program Date de ieșire ^ concurs1.cpp:7:1: error: stray '\231' in program concurs1.cpp:8:1: error: stray '\310' in program Programul afișează pe ecran mesajul DA, dacă numărul Gigel poate participa la concurs, respectiv NU în caz contrar. ^ concurs1.cpp:8:1: error: stray '\231' in program concurs1.cpp:8:1: error: stray '\304' in program concurs1.cpp:8:1: error: stray '\203' in program concurs1.cpp:8:1: error: stray '\304' in program concurs1.cpp:8:1: error: stray '\203' in program concurs1.cpp:8:1: error: stray '\304' in program concurs1.cpp:8:1: error: stray '\203' in program concurs1.cpp:8:1: error: stray '\303' in program concurs1.cpp:8:1: error: stray '\256' in program concurs1.cpp:10:1: error: stray '\310' in program Restricții și precizări ^ concurs1.cpp:10:1: error: stray '\233' in program concurs1.cpp:10:1: error: stray '\310' in program concurs1.cpp:10:1: error: stray '\231' in program concurs1.cpp:10:1: error: stray '\304' in program concurs1.cpp:10:1: error: stray '\203' in program concurs1.cpp:11:1: error: stray '\342' in program 1 ≤ a,b,n ≤ 1000 ^ concurs1.cpp:11:1: error: stray '\211' in program concurs1.cpp:11:1: error: stray '\244' in program concurs1.cpp:11:1: error: stray '\342' in program concurs1.cpp:11:1: error: stray '\211' in program concurs1.cpp:11:1: error: stray '\244' in program concurs1.cpp:12:1: error: stray '\342' in program a ≤ b ^ concurs1.cpp:12:1: error: stray '\211' in program concurs1.cpp:12:1: error: stray '\244' in program concurs1.cpp:1:1: error: 'Cerin' does not name a type Cerința ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Concurs1 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ă.