#1452
Stergere_Element
Să se șteargă dintr-un șir elementul aflat pe o poziție dată.
Problema | Stergere_Element | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54184599 | Utilizator | |
Fișier | stergere_element.cpp | Dimensiune | 318 B |
Data încărcării | 21 Noiembrie 2024, 15:45 | Scor / rezultat | Eroare de compilare |
stergere_element.cpp:9:1: error: stray '\302' in program cin>>n>>p; ^ stergere_element.cpp:9:1: error: stray '\240' in program stergere_element.cpp:9:1: error: stray '\302' in program stergere_element.cpp:9:1: error: stray '\240' in program stergere_element.cpp:9:1: error: stray '\302' in program stergere_element.cpp:9:1: error: stray '\240' in program stergere_element.cpp:10:1: error: stray '\302' in program for(int i=1; i<=n; i++) ^ stergere_element.cpp:10:1: error: stray '\240' in program stergere_element.cpp:10:1: error: stray '\302' in program stergere_element.cpp:10:1: error: stray '\240' in program stergere_element.cpp:10:1: error: stray '\302' in program stergere_element.cpp:10:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program cin>>v[i]; ^ stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:11:1: error: stray '\302' in program stergere_element.cpp:11:1: error: stray '\240' in program stergere_element.cpp:12:1: error: stray '\302' in program for(int i=p; i<n; i++) ^ stergere_element.cpp:12:1: error: stray '\240' in program stergere_element.cpp:12:1: error: stray '\302' in program stergere_element.cpp:12:1: error: stray '\240' in program stergere_element.cpp:12:1: error: stray '\302' in program stergere_element.cpp:12:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program v[i]=v[i+1]; ^ stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:13:1: error: stray '\302' in program stergere_element.cpp:13:1: error: stray '\240' in program stergere_element.cpp:14:1: error: stray '\302' in program for(int i=1; i<n; i++){ ^ stergere_element.cpp:14:1: error: stray '\240' in program stergere_element.cpp:14:1: error: stray '\302' in program stergere_element.cpp:14:1: error: stray '\240' in program stergere_element.cpp:14:1: error: stray '\302' in program stergere_element.cpp:14:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program cout<<v[i]<<" "; ^ stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:15:1: error: stray '\302' in program stergere_element.cpp:15:1: error: stray '\240' in program stergere_element.cpp:16:1: error: stray '\302' in program } ^ stergere_element.cpp:16:1: error: stray '\240' in program stergere_element.cpp:16:1: error: stray '\302' in program stergere_element.cpp:16:1: error: stray '\240' in program stergere_element.cpp:16:1: error: stray '\302' in program stergere_element.cpp:16:1: error: stray '\240' in program stergere_element.cpp:17:1: error: stray '\302' in program return 0; ^ stergere_element.cpp:17:1: error: stray '\240' in program stergere_element.cpp:17:1: error: stray '\302' in program stergere_element.cpp:17:1: error: stray '\240' in program stergere_element.cpp:17:1: error: stray '\302' in program stergere_element.cpp:17:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Stergere_Element 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ă.