#867
Se dau patru numere naturale n a x y. Să se afișeze elementele mulțimii M, cu următoarele proprietăți:
M sunt numere naturale mai mici sau egale cu n;a se află în M;b se află în M, atunci b+x și b+y se află în M.| Problema | Generare2_cu_Coada | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64235405 | Utilizator | |
| Fișier | generare2_cu_coada.cpp | Dimensiune | 3.33 KB |
| Data încărcării | 24 Aprilie 2026, 13:21 | Scor/rezultat | Eroare de compilare |
generare2_cu_coada.cpp:1:1: warning: integer constant is too large for its type 1 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:2:1: warning: integer constant is too large for its type 2 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:3:1: warning: integer constant is too large for its type 3 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:4:1: warning: integer constant is too large for its type 4 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:5:1: warning: integer constant is too large for its type 5 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:6:1: warning: integer constant is too large for its type 6 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:7:1: warning: integer constant is too large for its type 7 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:8:1: warning: integer constant is too large for its type 8 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:9:1: warning: integer constant is too large for its type 9 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:10:1: warning: integer constant is too large for its type 10 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:11:1: warning: integer constant is too large for its type 11 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:12:1: warning: integer constant is too large for its type 12 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:13:1: warning: integer constant is too large for its type 13 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:14:1: warning: integer constant is too large for its type 14 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:15:1: warning: integer constant is too large for its type 15 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:16:1: warning: integer constant is too large for its type 16 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:17:1: warning: integer constant is too large for its type 17 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:18:1: warning: integer constant is too large for its type 18 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:19:1: warning: integer constant is too large for its type 19 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:20:1: warning: integer constant is too large for its type 20 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:21:1: warning: integer constant is too large for its type 21 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:22:1: warning: integer constant is too large for its type 22 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:23:1: warning: integer constant is too large for its type 23 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:24:1: warning: integer constant is too large for its type 24 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generare2_cu_coada.cpp:1:1: error: expected unqualified-id before numeric constant 1 | 67676767676767676767676767676767676767767767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Generare2_cu_Coada 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ă.