#270
Unice1
Se dau n
numere întregi. Determinaţi câte dintre numerele date apar o singură dată.
Problema | Unice1 | Operații I/O |
unice1.in /unice1.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #23290860 | Utilizator | |
Fișier | unice1.cpp | Dimensiune | 585 B |
Data încărcării | 10 Iunie 2020, 18:57 | Scor / rezultat | Eroare de compilare |
unice1.cpp:3:1: error: stray '\302' in program using namespace std; ^ unice1.cpp:3:1: error: stray '\240' in program unice1.cpp:4:1: error: stray '\302' in program int este_in_sir(int v[],int k,int x){ ^ unice1.cpp:4:1: error: stray '\240' in program unice1.cpp:4:1: error: stray '\302' in program unice1.cpp:4:1: error: stray '\240' in program unice1.cpp:4:1: error: stray '\302' in program unice1.cpp:4:1: error: stray '\240' in program unice1.cpp:4:1: error: stray '\302' in program unice1.cpp:4:1: error: stray '\240' in program unice1.cpp:5:1: error: stray '\302' in program int i,este_in_sir=0; ^ unice1.cpp:5:1: error: stray '\240' in program unice1.cpp:7:1: error: stray '\302' in program return 0; ^ unice1.cpp:7:1: error: stray '\240' in program unice1.cpp:14:1: error: stray '\302' in program else if(v[i]==x&&este_in_sir==0){ ^ unice1.cpp:14:1: error: stray '\240' in program unice1.cpp:18:1: error: stray '\302' in program return este_in_sir; ^ unice1.cpp:18:1: error: stray '\240' in program unice1.cpp:20:1: error: stray '\302' in program int main(){ ^ unice1.cpp:20:1: error: stray '\240' in program unice1.cpp:21:1: error: stray '\302' in program ifstream ifu("unice1.in"); ^ unice1.cpp:21:1: error: stray '\240' in program unice1.cpp:22:1: error: stray '\302' in program ofstream ofu("unice1.out"); ^ unice1.cpp:22:1: error: stray '\240' in program unice1.cpp:23:1: error: stray '\302' in program int n,v[1000],x,k=1,nr=0; ^ unice1.cpp:23:1: error: stray '\240' in program unice1.cpp:31:1: error: stray '\302' in program else if(este_in_sir(v,k,x)==1){ ^ unice1.cpp:31:1: error: stray '\240' in program unice1.cpp:38:1: error: stray '\302' in program return 0; ^ unice1.cpp:38:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Unice1 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ă.