#525
Numere1
Se dau n
numere naturale. Determinaţi cele mai mari două numere cu trei cifre care nu apar printre numerele date.
Problema | Numere1 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #15677926 | Utilizator | |
Fișier | numere1.cpp | Dimensiune | 649 B |
Data încărcării | 07 Mai 2019, 08:41 | Scor / rezultat | Eroare de compilare |
numere1.cpp:9:1: error: stray '\302' in program cin>>x; ^ numere1.cpp:9:1: error: stray '\240' in program numere1.cpp:9:1: error: stray '\302' in program numere1.cpp:9:1: error: stray '\240' in program numere1.cpp:9:1: error: stray '\302' in program numere1.cpp:9:1: error: stray '\240' in program numere1.cpp:10:1: error: stray '\302' in program if (x<1000) ^ numere1.cpp:10:1: error: stray '\240' in program numere1.cpp:10:1: error: stray '\302' in program numere1.cpp:10:1: error: stray '\240' in program numere1.cpp:10:1: error: stray '\302' in program numere1.cpp:10:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program v[x]=1; ^ numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:11:1: error: stray '\302' in program numere1.cpp:11:1: error: stray '\240' in program numere1.cpp:15:1: error: stray '\302' in program for (i=999;i>=100 && !ok;i--) ^ numere1.cpp:15:1: error: stray '\240' in program numere1.cpp:15:1: error: stray '\302' in program numere1.cpp:15:1: error: stray '\240' in program numere1.cpp:15:1: error: stray '\302' in program numere1.cpp:15:1: error: stray '\240' in program numere1.cpp:16:1: error: stray '\302' in program { ^ numere1.cpp:16:1: error: stray '\240' in program numere1.cpp:16:1: error: stray '\302' in program numere1.cpp:16:1: error: stray '\240' in program numere1.cpp:16:1: error: stray '\302' in program numere1.cpp:16:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program if (v[i]==0 && !x) ^ numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:17:1: error: stray '\302' in program numere1.cpp:17:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program x=i; ^ numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:18:1: error: stray '\302' in program numere1.cpp:18:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program else ^ numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:19:1: error: stray '\302' in program numere1.cpp:19:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program if (v[i]==0 && x) ^ numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:20:1: error: stray '\302' in program numere1.cpp:20:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program { ^ numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:21:1: error: stray '\302' in program numere1.cpp:21:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program ok=1; ^ numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:22:1: error: stray '\302' in program numere1.cpp:22:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program x1=i; ^ numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:23:1: error: stray '\302' in program numere1.cpp:23:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program } ^ numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:24:1: error: stray '\302' in program numere1.cpp:24:1: error: stray '\240' in program numere1.cpp:25:1: error: stray '\302' in program } ^ numere1.cpp:25:1: error: stray '\240' in program numere1.cpp:25:1: error: stray '\302' in program numere1.cpp:25:1: error: stray '\240' in program numere1.cpp:25:1: error: stray '\302' in program numere1.cpp:25:1: error: stray '\240' in program numere1.cpp:26:1: error: stray '\302' in program if (!x || !x1) ^ numere1.cpp:26:1: error: stray '\240' in program numere1.cpp:26:1: error: stray '\302' in program numere1.cpp:26:1: error: stray '\240' in program numere1.cpp:26:1: error: stray '\302' in program numere1.cpp:26:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program cout<<"NU EXISTA"; ^ numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:27:1: error: stray '\302' in program numere1.cpp:27:1: error: stray '\240' in program numere1.cpp:28:1: error: stray '\302' in program else ^ numere1.cpp:28:1: error: stray '\240' in program numere1.cpp:28:1: error: stray '\302' in program numere1.cpp:28:1: error: stray '\240' in program numere1.cpp:28:1: error: stray '\302' in program numere1.cpp:28:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program cout<<x1<<" "<<x; ^ numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:29:1: error: stray '\302' in program numere1.cpp:29:1: error: stray '\240' in program numere1.cpp:30:1: error: stray '\302' in program return 0; ^ numere1.cpp:30:1: error: stray '\240' in program numere1.cpp:30:1: error: stray '\302' in program numere1.cpp:30:1: error: stray '\240' in program numere1.cpp:30:1: error: stray '\302' in program numere1.cpp:30:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numere1 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ă.