Problema | baze | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #16367521 | Utilizator | |
Fișier | baze.cpp | Dimensiune | 644 B |
Data încărcării | 19 Iulie 2019, 15:59 | Scor / rezultat | Eroare de compilare |
baze.cpp:2:1: error: stray '\302' in program using namespace std; ^ baze.cpp:2:1: error: stray '\240' in program baze.cpp:2:1: error: stray '\302' in program baze.cpp:2:1: error: stray '\240' in program baze.cpp:3:1: error: stray '\302' in program int n,m,p,r,b,c,x[100],k; ^ baze.cpp:3:1: error: stray '\240' in program baze.cpp:5:1: error: stray '\302' in program int main() ^ baze.cpp:5:1: error: stray '\240' in program baze.cpp:7:1: error: stray '\302' in program cin>>n>>b>>c; ^ baze.cpp:7:1: error: stray '\240' in program baze.cpp:7:1: error: stray '\302' in program baze.cpp:7:1: error: stray '\240' in program baze.cpp:7:1: error: stray '\302' in program baze.cpp:7:1: error: stray '\240' in program baze.cpp:7:1: error: stray '\302' in program baze.cpp:7:1: error: stray '\240' in program baze.cpp:8:1: error: stray '\302' in program //conversia lui n din baza b in baza 10 si se obtine m ^ baze.cpp:8:1: error: stray '\240' in program baze.cpp:8:1: error: stray '\302' in program baze.cpp:8:1: error: stray '\240' in program baze.cpp:8:1: error: stray '\302' in program baze.cpp:8:1: error: stray '\240' in program baze.cpp:8:1: error: stray '\302' in program baze.cpp:8:1: error: stray '\240' in program baze.cpp:9:1: error: stray '\302' in program p=1; ^ baze.cpp:9:1: error: stray '\240' in program baze.cpp:9:1: error: stray '\302' in program baze.cpp:9:1: error: stray '\240' in program baze.cpp:9:1: error: stray '\302' in program baze.cpp:9:1: error: stray '\240' in program baze.cpp:9:1: error: stray '\302' in program baze.cpp:9:1: error: stray '\240' in program baze.cpp:10:1: error: stray '\302' in program while(n!=0) ^ baze.cpp:10:1: error: stray '\240' in program baze.cpp:10:1: error: stray '\302' in program baze.cpp:10:1: error: stray '\240' in program baze.cpp:10:1: error: stray '\302' in program baze.cpp:10:1: error: stray '\240' in program baze.cpp:10:1: error: stray '\302' in program baze.cpp:10:1: error: stray '\240' in program baze.cpp:11:1: error: stray '\302' in program { ^ baze.cpp:11:1: error: stray '\240' in program baze.cpp:11:1: error: stray '\302' in program baze.cpp:11:1: error: stray '\240' in program baze.cpp:11:1: error: stray '\302' in program baze.cpp:11:1: error: stray '\240' in program baze.cpp:11:1: error: stray '\302' in program baze.cpp:11:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program r=n%10; ^ baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:12:1: error: stray '\302' in program baze.cpp:12:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program m=m+r*p; ^ baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:13:1: error: stray '\302' in program baze.cpp:13:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program p=p*b; ^ baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:14:1: error: stray '\302' in program baze.cpp:14:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program n=n/10; ^ baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:15:1: error: stray '\302' in program baze.cpp:15:1: error: stray '\240' in program baze.cpp:16:1: error: stray '\302' in program } ^ baze.cpp:16:1: error: stray '\240' in program baze.cpp:16:1: error: stray '\302' in program baze.cpp:16:1: error: stray '\240' in program baze.cpp:16:1: error: stray '\302' in program baze.cpp:16:1: error: stray '\240' in program baze.cpp:16:1: error: stray '\302' in program baze.cpp:16:1: error: stray '\240' in program baze.cpp:17:1: error: stray '\302' in program //conversia lui m din baza 10 in baza c si se obtine n ^ baze.cpp:17:1: error: stray '\240' in program baze.cpp:17:1: error: stray '\302' in program baze.cpp:17:1: error: stray '\240' in program baze.cpp:17:1: error: stray '\302' in program baze.cpp:17:1: error: stray '\240' in program baze.cpp:17:1: error: stray '\302' in program baze.cpp:17:1: error: stray '\240' in program baze.cpp:18:1: error: stray '\302' in program p=1; ^ baze.cpp:18:1: error: stray '\240' in program baze.cpp:18:1: error: stray '\302' in program baze.cpp:18:1: error: stray '\240' in program baze.cpp:18:1: error: stray '\302' in program baze.cpp:18:1: error: stray '\240' in program baze.cpp:18:1: error: stray '\302' in program baze.cpp:18:1: error: stray '\240' in program baze.cpp:19:1: error: stray '\302' in program while(m!=0) ^ baze.cpp:19:1: error: stray '\240' in program baze.cpp:19:1: error: stray '\302' in program baze.cpp:19:1: error: stray '\240' in program baze.cpp:19:1: error: stray '\302' in program baze.cpp:19:1: error: stray '\240' in program baze.cpp:19:1: error: stray '\302' in program baze.cpp:19:1: error: stray '\240' in program baze.cpp:20:1: error: stray '\302' in program { ^ baze.cpp:20:1: error: stray '\240' in program baze.cpp:20:1: error: stray '\302' in program baze.cpp:20:1: error: stray '\240' in program baze.cpp:20:1: error: stray '\302' in program baze.cpp:20:1: error: stray '\240' in program baze.cpp:20:1: error: stray '\302' in program baze.cpp:20:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program r=m%c; ^ baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:21:1: error: stray '\302' in program baze.cpp:21:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program k++; ^ baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:22:1: error: stray '\302' in program baze.cpp:22:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program x[k]=r; ^ baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:23:1: error: stray '\302' in program baze.cpp:23:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program m=m/c; ^ baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:24:1: error: stray '\302' in program baze.cpp:24:1: error: stray '\240' in program baze.cpp:25:1: error: stray '\302' in program } ^ baze.cpp:25:1: error: stray '\240' in program baze.cpp:25:1: error: stray '\302' in program baze.cpp:25:1: error: stray '\240' in program baze.cpp:25:1: error: stray '\302' in program baze.cpp:25:1: error: stray '\240' in program baze.cpp:25:1: error: stray '\302' in program baze.cpp:25:1: error: stray '\240' in program baze.cpp:26:1: error: stray '\302' in program for(int i=k;i>=1;i--) ^ baze.cpp:26:1: error: stray '\240' in program baze.cpp:26:1: error: stray '\302' in program baze.cpp:26:1: error: stray '\240' in program baze.cpp:26:1: error: stray '\302' in program baze.cpp:26:1: error: stray '\240' in program baze.cpp:26:1: error: stray '\302' in program baze.cpp:26:1: error: stray '\240' in program baze.cpp:26:1: error: stray '\302' in program baze.cpp:26:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program cout<<x[i]; ^ baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:27:1: error: stray '\302' in program baze.cpp:27:1: error: stray '\240' in program baze.cpp:28:1: error: stray '\302' in program } ^ baze.cpp:28:1: error: stray '\240' in program baze.cpp:28:1: error: stray '\302' in program baze.cpp:28:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema baze 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ă.