Problema | Prime3 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #50159975 | Utilizator | |
Fișier | prime3.cpp | Dimensiune | 462 B |
Data încărcării | 29 Martie 2024, 09:09 | Scor / rezultat | Eroare de compilare |
prime3.cpp:9:1: error: stray '\302' in program cin>>n; ^ prime3.cpp:9:1: error: stray '\240' in program prime3.cpp:9:1: error: stray '\302' in program prime3.cpp:9:1: error: stray '\240' in program prime3.cpp:10:1: error: stray '\302' in program while(n) ^ prime3.cpp:10:1: error: stray '\240' in program prime3.cpp:10:1: error: stray '\302' in program prime3.cpp:10:1: error: stray '\240' in program prime3.cpp:11:1: error: stray '\302' in program { ^ prime3.cpp:11:1: error: stray '\240' in program prime3.cpp:11:1: error: stray '\302' in program prime3.cpp:11:1: error: stray '\240' in program prime3.cpp:12:1: error: stray '\302' in program cin>>a; ^ prime3.cpp:12:1: error: stray '\240' in program prime3.cpp:12:1: error: stray '\302' in program prime3.cpp:12:1: error: stray '\240' in program prime3.cpp:12:1: error: stray '\302' in program prime3.cpp:12:1: error: stray '\240' in program prime3.cpp:12:1: error: stray '\302' in program prime3.cpp:12:1: error: stray '\240' in program prime3.cpp:13:1: error: stray '\302' in program nr=0; ^ prime3.cpp:13:1: error: stray '\240' in program prime3.cpp:13:1: error: stray '\302' in program prime3.cpp:13:1: error: stray '\240' in program prime3.cpp:13:1: error: stray '\302' in program prime3.cpp:13:1: error: stray '\240' in program prime3.cpp:13:1: error: stray '\302' in program prime3.cpp:13:1: error: stray '\240' in program prime3.cpp:14:1: error: stray '\302' in program for(int i=1;i*i<=a;i++) ^ prime3.cpp:14:1: error: stray '\240' in program prime3.cpp:14:1: error: stray '\302' in program prime3.cpp:14:1: error: stray '\240' in program prime3.cpp:14:1: error: stray '\302' in program prime3.cpp:14:1: error: stray '\240' in program prime3.cpp:14:1: error: stray '\302' in program prime3.cpp:14:1: error: stray '\240' in program prime3.cpp:15:1: error: stray '\302' in program { ^ prime3.cpp:15:1: error: stray '\240' in program prime3.cpp:15:1: error: stray '\302' in program prime3.cpp:15:1: error: stray '\240' in program prime3.cpp:15:1: error: stray '\302' in program prime3.cpp:15:1: error: stray '\240' in program prime3.cpp:15:1: error: stray '\302' in program prime3.cpp:15:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program if(i*i==a) ^ prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:16:1: error: stray '\302' in program prime3.cpp:16:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program nr++; ^ prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:17:1: error: stray '\302' in program prime3.cpp:17:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program else if(i*i!=a && a%i==0) ^ prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:18:1: error: stray '\302' in program prime3.cpp:18:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program nr+=2; ^ prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:19:1: error: stray '\302' in program prime3.cpp:19:1: error: stray '\240' in program prime3.cpp:20:1: error: stray '\302' in program } ^ prime3.cpp:20:1: error: stray '\240' in program prime3.cpp:20:1: error: stray '\302' in program prime3.cpp:20:1: error: stray '\240' in program prime3.cpp:20:1: error: stray '\302' in program prime3.cpp:20:1: error: stray '\240' in program prime3.cpp:20:1: error: stray '\302' in program prime3.cpp:20:1: error: stray '\240' in program prime3.cpp:21:1: error: stray '\302' in program if(nr==2) ^ prime3.cpp:21:1: error: stray '\240' in program prime3.cpp:21:1: error: stray '\302' in program prime3.cpp:21:1: error: stray '\240' in program prime3.cpp:21:1: error: stray '\302' in program prime3.cpp:21:1: error: stray '\240' in program prime3.cpp:21:1: error: stray '\302' in program prime3.cpp:21:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program s=s+a; ^ prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:22:1: error: stray '\302' in program prime3.cpp:22:1: error: stray '\240' in program prime3.cpp:23:1: error: stray '\302' in program n--; ^ prime3.cpp:23:1: error: stray '\240' in program prime3.cpp:23:1: error: stray '\302' in program prime3.cpp:23:1: error: stray '\240' in program prime3.cpp:23:1: error: stray '\302' in program prime3.cpp:23:1: error: stray '\240' in program prime3.cpp:23:1: error: stray '\302' in program prime3.cpp:23:1: error: stray '\240' in program prime3.cpp:24:1: error: stray '\302' in program } ^ prime3.cpp:24:1: error: stray '\240' in program prime3.cpp:24:1: error: stray '\302' in program prime3.cpp:24:1: error: stray '\240' in program prime3.cpp:25:1: error: stray '\302' in program cout<<s; ^ prime3.cpp:25:1: error: stray '\240' in program prime3.cpp:25:1: error: stray '\302' in program prime3.cpp:25:1: error: stray '\240' in program prime3.cpp:26:1: error: stray '\302' in program return 0; ^ prime3.cpp:26:1: error: stray '\240' in program prime3.cpp:26:1: error: stray '\302' in program prime3.cpp:26:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Prime3 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ă.