#462
DivPrimMax
Se citesc numere de la tastatură până când se introduc două numere egale. Să se determine numărul citit cu număr maxim de divizori primi.
Problema | DivPrimMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #13084735 | Utilizator | |
Fișier | divprimmax.cpp | Dimensiune | 264 B |
Data încărcării | 07 Ianuarie 2019, 02:52 | Scor / rezultat | Eroare de compilare |
divprimmax.cpp:6:1: error: stray '\302' in program int u = -1, p = -2, s = 0; ^ divprimmax.cpp:6:1: error: stray '\240' in program divprimmax.cpp:6:1: error: stray '\302' in program divprimmax.cpp:6:1: error: stray '\240' in program divprimmax.cpp:6:1: error: stray '\302' in program divprimmax.cpp:6:1: error: stray '\240' in program divprimmax.cpp:8:1: error: stray '\302' in program while(u != p) ^ divprimmax.cpp:8:1: error: stray '\240' in program divprimmax.cpp:8:1: error: stray '\302' in program divprimmax.cpp:8:1: error: stray '\240' in program divprimmax.cpp:8:1: error: stray '\302' in program divprimmax.cpp:8:1: error: stray '\240' in program divprimmax.cpp:9:1: error: stray '\302' in program { ^ divprimmax.cpp:9:1: error: stray '\240' in program divprimmax.cpp:9:1: error: stray '\302' in program divprimmax.cpp:9:1: error: stray '\240' in program divprimmax.cpp:9:1: error: stray '\302' in program divprimmax.cpp:9:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program p = u; ^ divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:10:1: error: stray '\302' in program divprimmax.cpp:10:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program cin >> u; ^ divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:11:1: error: stray '\302' in program divprimmax.cpp:11:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program s += u; ^ divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:12:1: error: stray '\302' in program divprimmax.cpp:12:1: error: stray '\240' in program divprimmax.cpp:13:1: error: stray '\302' in program } ^ divprimmax.cpp:13:1: error: stray '\240' in program divprimmax.cpp:13:1: error: stray '\302' in program divprimmax.cpp:13:1: error: stray '\240' in program divprimmax.cpp:13:1: error: stray '\302' in program divprimmax.cpp:13:1: error: stray '\240' in program divprimmax.cpp:15:1: error: stray '\302' in program cout << s << '\n'; ^ divprimmax.cpp:15:1: error: stray '\240' in program divprimmax.cpp:15:1: error: stray '\302' in program divprimmax.cpp:15:1: error: stray '\240' in program divprimmax.cpp:15:1: error: stray '\302' in program divprimmax.cpp:15:1: error: stray '\240' in program divprimmax.cpp:16:1: error: stray '\302' in program return 0; ^ divprimmax.cpp:16:1: error: stray '\240' in program divprimmax.cpp:16:1: error: stray '\302' in program divprimmax.cpp:16:1: error: stray '\240' in program divprimmax.cpp:16:1: error: stray '\302' in program divprimmax.cpp:16:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema DivPrimMax 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ă.