#665
DivCif
Se dau două numere naturale a b
. Determinați câte numere naturale din intervalul [a,b]
se divid cu toate cifrele lor nenule.
Problema | DivCif | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #11194310 | Utilizator | |
Fișier | divcif.cpp | Dimensiune | 544 B |
Data încărcării | 21 Octombrie 2018, 00:59 | Scor / rezultat | Eroare de compilare |
divcif.cpp:4:1: error: stray '\302' in program { ^ divcif.cpp:4:1: error: stray '\240' in program divcif.cpp:4:1: error: stray '\302' in program divcif.cpp:4:1: error: stray '\240' in program divcif.cpp:6:5: error: stray '\302' in program cin>>a>>b; ^ divcif.cpp:6:5: error: stray '\240' in program divcif.cpp:6:5: error: stray '\302' in program divcif.cpp:6:5: error: stray '\240' in program divcif.cpp:7:5: error: stray '\302' in program for(i=a;i<=b;i++) ^ divcif.cpp:7:5: error: stray '\240' in program divcif.cpp:7:5: error: stray '\302' in program divcif.cpp:7:5: error: stray '\240' in program divcif.cpp:9:9: error: stray '\302' in program n=i; ^ divcif.cpp:9:9: error: stray '\240' in program divcif.cpp:9:9: error: stray '\302' in program divcif.cpp:9:9: error: stray '\240' in program divcif.cpp:9:9: error: stray '\302' in program divcif.cpp:9:9: error: stray '\240' in program divcif.cpp:9:9: error: stray '\302' in program divcif.cpp:9:9: error: stray '\240' in program divcif.cpp:10:9: error: stray '\302' in program cop=i; ^ divcif.cpp:10:9: error: stray '\240' in program divcif.cpp:10:9: error: stray '\302' in program divcif.cpp:10:9: error: stray '\240' in program divcif.cpp:10:9: error: stray '\302' in program divcif.cpp:10:9: error: stray '\240' in program divcif.cpp:10:9: error: stray '\302' in program divcif.cpp:10:9: error: stray '\240' in program divcif.cpp:11:9: error: stray '\302' in program stg=0; ^ divcif.cpp:11:9: error: stray '\240' in program divcif.cpp:11:9: error: stray '\302' in program divcif.cpp:11:9: error: stray '\240' in program divcif.cpp:11:9: error: stray '\302' in program divcif.cpp:11:9: error: stray '\240' in program divcif.cpp:11:9: error: stray '\302' in program divcif.cpp:11:9: error: stray '\240' in program divcif.cpp:12:9: error: stray '\302' in program while(cop != 0) ^ divcif.cpp:12:9: error: stray '\240' in program divcif.cpp:12:9: error: stray '\302' in program divcif.cpp:12:9: error: stray '\240' in program divcif.cpp:12:9: error: stray '\302' in program divcif.cpp:12:9: error: stray '\240' in program divcif.cpp:12:9: error: stray '\302' in program divcif.cpp:12:9: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program { ^ divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:13:8: error: stray '\302' in program divcif.cpp:13:8: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program stg=1; ^ divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:15:19: error: stray '\302' in program divcif.cpp:15:19: error: stray '\240' in program divcif.cpp:16:12: error: stray '\302' in program cop= cop /10; ^ divcif.cpp:16:12: error: stray '\240' in program divcif.cpp:16:12: error: stray '\302' in program divcif.cpp:16:12: error: stray '\240' in program divcif.cpp:16:12: error: stray '\302' in program divcif.cpp:16:12: error: stray '\240' in program divcif.cpp:16:12: error: stray '\302' in program divcif.cpp:16:12: error: stray '\240' in program divcif.cpp:17:8: error: stray '\302' in program } ^ divcif.cpp:17:8: error: stray '\240' in program divcif.cpp:17:8: error: stray '\302' in program divcif.cpp:17:8: error: stray '\240' in program divcif.cpp:17:8: error: stray '\302' in program divcif.cpp:17:8: error: stray '\240' in program divcif.cpp:17:8: error: stray '\302' in program divcif.cpp:17:8: error: stray '\240' in program divcif.cpp:19:13: error: stray '\302' in program nr++; ^ divcif.cpp:19:13: error: stray '\240' in program divcif.cpp:19:13: error: stray '\302' in program divcif.cpp:19:13: error: stray '\240' in program divcif.cpp:20:5: error: stray '\302' in program } ^ divcif.cpp:20:5: error: stray '\240' in program divcif.cpp:20:5: error: stray '\302' in program divcif.cpp:20:5: error: stray '\240' in program divcif.cpp:21:7: error: stray '\302' in program cout<<nr; ^ divcif.cpp:21:7: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema DivCif 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ă.