Detalii evaluare #51086696

Rezumat problemă

Se citesc două numere naturale a și b. Afișați în ordine crescătoare primii b multipli nenuli ai numărului a.

Detalii

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 Zlateanu Matei (Matei121212)
Fișier afisare_m2.cpp Dimensiune 809 B
Data încărcării 23 Mai 2024, 08:00 Scor / rezultat Eroare de compilare

Evaluare


Mesaj 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

Cum funcționează evaluarea?

www.pbinfo.ro permite evaluarea a două tipuri de probleme:

  • probleme la care rezolvarea presupune scrierea unui program complet
  • probleme la care rezolvarea presupune scrierea unei secvențe de program - câteva instrucțiuni, o listă de declarații, una sau mai multe funcții, etc.

Problema afisare_M2 face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:

  • Programul sursă este compilat folosind compilatorul corespunzător. Dacă în urma compilării se obțin erori sau avertismente, acestea sunt afișate în această pagină.
  • Dacă programul a fost compilat, executabilul obținut va fi rulat, furnizându-i-se unul sau mai multe seturi de date de intrare, în concordanță cu restricțiile specifice problemei. Pentru fiecare set de date se obține un anumit punctaj, în raport cu corectitudinea soluției tale.

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ă.