#183
sortPP
Să se ordoneze crescător elementele pătrat perfect ale unui şir dat, fără a afecta elementele care nu sunt pătrat perfect.
Problema | sortPP | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #15303491 | Utilizator | |
Fișier | sortpp.cpp | Dimensiune | 688 B |
Data încărcării | 09 Aprilie 2019, 09:05 | Scor / rezultat | Eroare de compilare |
sortpp.cpp:6:1: error: stray '\302' in program for (int i=0;i*i<=x;i++) ^ sortpp.cpp:6:1: error: stray '\240' in program sortpp.cpp:6:1: error: stray '\302' in program sortpp.cpp:6:1: error: stray '\240' in program sortpp.cpp:6:1: error: stray '\302' in program sortpp.cpp:6:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program if (i*i==x) return true; ^ sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:7:1: error: stray '\302' in program sortpp.cpp:7:1: error: stray '\240' in program sortpp.cpp:8:1: error: stray '\302' in program return false; ^ sortpp.cpp:8:1: error: stray '\240' in program sortpp.cpp:8:1: error: stray '\302' in program sortpp.cpp:8:1: error: stray '\240' in program sortpp.cpp:8:1: error: stray '\302' in program sortpp.cpp:8:1: error: stray '\240' in program sortpp.cpp:12:1: error: stray '\302' in program cin>>n; ^ sortpp.cpp:12:1: error: stray '\240' in program sortpp.cpp:12:1: error: stray '\302' in program sortpp.cpp:12:1: error: stray '\240' in program sortpp.cpp:12:1: error: stray '\302' in program sortpp.cpp:12:1: error: stray '\240' in program sortpp.cpp:13:1: error: stray '\302' in program for (int i=1;i<=n;i++) cin>>v[i]; ^ sortpp.cpp:13:1: error: stray '\240' in program sortpp.cpp:13:1: error: stray '\302' in program sortpp.cpp:13:1: error: stray '\240' in program sortpp.cpp:13:1: error: stray '\302' in program sortpp.cpp:13:1: error: stray '\240' in program sortpp.cpp:14:1: error: stray '\302' in program for (int i=1;i<n;i++) ^ sortpp.cpp:14:1: error: stray '\240' in program sortpp.cpp:14:1: error: stray '\302' in program sortpp.cpp:14:1: error: stray '\240' in program sortpp.cpp:14:1: error: stray '\302' in program sortpp.cpp:14:1: error: stray '\240' in program sortpp.cpp:15:1: error: stray '\302' in program { ^ sortpp.cpp:15:1: error: stray '\240' in program sortpp.cpp:15:1: error: stray '\302' in program sortpp.cpp:15:1: error: stray '\240' in program sortpp.cpp:15:1: error: stray '\302' in program sortpp.cpp:15:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program for (int j=i+1;j<=n;j++) ^ sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:16:1: error: stray '\302' in program sortpp.cpp:16:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program { ^ sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:17:1: error: stray '\302' in program sortpp.cpp:17:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program if (pp(v[i]) && pp(v[j]) && v[i]>v[j]) ^ sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:18:1: error: stray '\302' in program sortpp.cpp:18:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program { ^ sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:19:1: error: stray '\302' in program sortpp.cpp:19:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program int t=v[i]; ^ sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:20:1: error: stray '\302' in program sortpp.cpp:20:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program v[i]=v[j]; ^ sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:21:1: error: stray '\302' in program sortpp.cpp:21:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program v[j]=t; ^ sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:22:1: error: stray '\302' in program sortpp.cpp:22:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program } ^ sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:23:1: error: stray '\302' in program sortpp.cpp:23:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program } ^ sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:24:1: error: stray '\302' in program sortpp.cpp:24:1: error: stray '\240' in program sortpp.cpp:25:1: error: stray '\302' in program } ^ sortpp.cpp:25:1: error: stray '\240' in program sortpp.cpp:25:1: error: stray '\302' in program sortpp.cpp:25:1: error: stray '\240' in program sortpp.cpp:25:1: error: stray '\302' in program sortpp.cpp:25:1: error: stray '\240' in program sortpp.cpp:26:1: error: stray '\302' in program for (int i=1;i<=n;i++) cout<<v[i]<<" "; ^ sortpp.cpp:26:1: error: stray '\240' in program sortpp.cpp:26:1: error: stray '\302' in program sortpp.cpp:26:1: error: stray '\240' in program sortpp.cpp:26:1: error: stray '\302' in program sortpp.cpp:26:1: error: stray '\240' in program sortpp.cpp:27:1: error: stray '\302' in program return 0; ^ sortpp.cpp:27:1: error: stray '\240' in program sortpp.cpp:27:1: error: stray '\302' in program sortpp.cpp:27:1: error: stray '\240' in program sortpp.cpp:27:1: error: stray '\302' in program sortpp.cpp:27:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema sortPP 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ă.