#3984
afisare_M2
Se citesc două numere naturale a
și b
. Afișați în ordine crescătoare primii b
multipli nenuli ai numărului a
.
Problema | afisare_M2 | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #51086696 | Utilizator | |
Fișier | afisare_m2.cpp | Dimensiune | 809 B |
Data încărcării | 23 Mai 2024, 08:00 | Scor / rezultat | Eroare de compilare |
afisare_m2.cpp:11:1: error: stray '\302' in program cin >> n; ^ afisare_m2.cpp:11:1: error: stray '\240' in program afisare_m2.cpp:11:1: error: stray '\302' in program afisare_m2.cpp:11:1: error: stray '\240' in program afisare_m2.cpp:13:1: error: stray '\302' in program for (i=1; i<=n; i++) ^ afisare_m2.cpp:13:1: error: stray '\240' in program afisare_m2.cpp:13:1: error: stray '\302' in program afisare_m2.cpp:13:1: error: stray '\240' in program afisare_m2.cpp:15:1: error: stray '\302' in program { ^ afisare_m2.cpp:15:1: error: stray '\240' in program afisare_m2.cpp:15:1: error: stray '\302' in program afisare_m2.cpp:15:1: error: stray '\240' in program afisare_m2.cpp:17:1: error: stray '\302' in program cin >> a; ^ afisare_m2.cpp:17:1: error: stray '\240' in program afisare_m2.cpp:17:1: error: stray '\302' in program afisare_m2.cpp:17:1: error: stray '\240' in program afisare_m2.cpp:17:1: error: stray '\302' in program afisare_m2.cpp:17:1: error: stray '\240' in program afisare_m2.cpp:17:1: error: stray '\302' in program afisare_m2.cpp:17:1: error: stray '\240' in program afisare_m2.cpp:19:1: error: stray '\302' in program if (i%2==0) ^ afisare_m2.cpp:19:1: error: stray '\240' in program afisare_m2.cpp:19:1: error: stray '\302' in program afisare_m2.cpp:19:1: error: stray '\240' in program afisare_m2.cpp:19:1: error: stray '\302' in program afisare_m2.cpp:19:1: error: stray '\240' in program afisare_m2.cpp:19:1: error: stray '\302' in program afisare_m2.cpp:19:1: error: stray '\240' in program afisare_m2.cpp:21:1: error: stray '\302' in program { ^ afisare_m2.cpp:21:1: error: stray '\240' in program afisare_m2.cpp:21:1: error: stray '\302' in program afisare_m2.cpp:21:1: error: stray '\240' in program afisare_m2.cpp:21:1: error: stray '\302' in program afisare_m2.cpp:21:1: error: stray '\240' in program afisare_m2.cpp:21:1: error: stray '\302' in program afisare_m2.cpp:21:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program if (a>x) x=a; ^ afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:23:1: error: stray '\302' in program afisare_m2.cpp:23:1: error: stray '\240' in program afisare_m2.cpp:25:1: error: stray '\302' in program } ^ afisare_m2.cpp:25:1: error: stray '\240' in program afisare_m2.cpp:25:1: error: stray '\302' in program afisare_m2.cpp:25:1: error: stray '\240' in program afisare_m2.cpp:25:1: error: stray '\302' in program afisare_m2.cpp:25:1: error: stray '\240' in program afisare_m2.cpp:25:1: error: stray '\302' in program afisare_m2.cpp:25:1: error: stray '\240' in program afisare_m2.cpp:27:1: error: stray '\302' in program else ^ afisare_m2.cpp:27:1: error: stray '\240' in program afisare_m2.cpp:27:1: error: stray '\302' in program afisare_m2.cpp:27:1: error: stray '\240' in program afisare_m2.cpp:27:1: error: stray '\302' in program afisare_m2.cpp:27:1: error: stray '\240' in program afisare_m2.cpp:27:1: error: stray '\302' in program afisare_m2.cpp:27:1: error: stray '\240' in program afisare_m2.cpp:29:1: error: stray '\302' in program { ^ afisare_m2.cpp:29:1: error: stray '\240' in program afisare_m2.cpp:29:1: error: stray '\302' in program afisare_m2.cpp:29:1: error: stray '\240' in program afisare_m2.cpp:29:1: error: stray '\302' in program afisare_m2.cpp:29:1: error: stray '\240' in program afisare_m2.cpp:29:1: error: stray '\302' in program afisare_m2.cpp:29:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program if (a>9 && a<100) ^ afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:31:1: error: stray '\302' in program afisare_m2.cpp:31:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program { ^ afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:33:1: error: stray '\302' in program afisare_m2.cpp:33:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program if (y==-1) ^ afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:35:1: error: stray '\302' in program afisare_m2.cpp:35:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program { ^ afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:37:1: error: stray '\302' in program afisare_m2.cpp:37:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program y=a; ^ afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:39:1: error: stray '\302' in program afisare_m2.cpp:39:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program } ^ afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:41:1: error: stray '\302' in program afisare_m2.cpp:41:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program else ^ afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:43:1: error: stray '\302' in program afisare_m2.cpp:43:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program { ^ afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:45:1: error: stray '\302' in program afisare_m2.cpp:45:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program if (a<y) ^ afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:47:1: error: stray '\302' in program afisare_m2.cpp:47:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program { ^ afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:49:1: error: stray '\302' in program afisare_m2.cpp:49:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program y=a; ^ afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:51:1: error: stray '\302' in program afisare_m2.cpp:51:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program } ^ afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:53:1: error: stray '\302' in program afisare_m2.cpp:53:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program } ^ afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:55:1: error: stray '\302' in program afisare_m2.cpp:55:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program } ^ afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:57:1: error: stray '\302' in program afisare_m2.cpp:57:1: error: stray '\240' in program afisare_m2.cpp:59:1: error: stray '\302' in program } ^ afisare_m2.cpp:59:1: error: stray '\240' in program afisare_m2.cpp:59:1: error: stray '\302' in program afisare_m2.cpp:59:1: error: stray '\240' in program afisare_m2.cpp:59:1: error: stray '\302' in program afisare_m2.cpp:59:1: error: stray '\240' in program afisare_m2.cpp:59:1: error: stray '\302' in program afisare_m2.cpp:59:1: error: stray '\240' in program afisare_m2.cpp:61:1: error: stray '\302' in program } ^ afisare_m2.cpp:61:1: error: stray '\240' in program afisare_m2.cpp:61:1: error: stray '\302' in program afisare_m2.cpp:61:1: error: stray '\240' in program afisare_m2.cpp:63:1: error: stray '\302' in program cout << x << " " << y; ^ afisare_m2.cpp:63:1: error: stray '\240' in program afisare_m2.cpp:63:1: error: stray '\302' in program afisare_m2.cpp:63:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema afisare_M2 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ă.