#1923
Afişaţi, în ordine crescătoare, toate numerele dintr-un anumit interval care au toate cifrele egale.
Pregătire clasa a IX-a, C.N. "Frații Buzești" - Craiova
| Problema | egale | Operații I/O |
egale.in/egale.out
|
|---|---|---|---|
| Limita timp | 0.2 secunde | Limita memorie |
Total: 8 MB
/
Stivă 8 MB
|
| Id soluție | #64536588 | Utilizator | |
| Fișier | egale.cpp | Dimensiune | 657 B |
| Data încărcării | 13 Mai 2026, 08:46 | Scor/rezultat | Eroare de compilare |
egale.cpp: In function ‘int main()’: egale.cpp:17:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 17 | for(int i=1; i<=9; i++) | ^~~ egale.cpp:20:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 20 | p=p*10+1; | ^ egale.cpp:29:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 29 | for (int cif=1;cif<=9;cif++) | ^~~ egale.cpp:32:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 32 | fout<<" "; | ^~~~ egale.cpp: At global scope: egale.cpp:38:1: error: expected unqualified-id before ‘return’ 38 | return 0; | ^~~~~~ egale.cpp:40:1: error: expected declaration before ‘}’ token 40 | } | ^ egale.cpp:41:1: error: expected declaration before ‘}’ token 41 | } | ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema egale 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ă.