Detalii evaluare #25917365

Rezumat problemă

Se dau n numere naturale. Determinați cele mai mici două numere dintre cele introduse care au ultimele două cifre egale.

Detalii

Problema MinimDoua Operații I/O minimdoua.in/minimdoua.out
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #25917365 Utilizator Szabo Maria (szaboo)
Fișier minimdoua.cpp Dimensiune 822 B
Data încărcării 18 Noiembrie 2020, 22:06 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

minimdoua.cpp:12:1: error: stray '\302' in program
     ifstream cin("minimdoua.in");

 ^
minimdoua.cpp:12:1: error: stray '\240' in program
minimdoua.cpp:12:1: error: stray '\302' in program
minimdoua.cpp:12:1: error: stray '\240' in program
minimdoua.cpp:12:1: error: stray '\302' in program
minimdoua.cpp:12:1: error: stray '\240' in program
minimdoua.cpp:12:1: error: stray '\302' in program
minimdoua.cpp:12:1: error: stray '\240' in program
minimdoua.cpp:14:1: error: stray '\302' in program
     ofstream cout("minimdoua.out");

 ^
minimdoua.cpp:14:1: error: stray '\240' in program
minimdoua.cpp:14:1: error: stray '\302' in program
minimdoua.cpp:14:1: error: stray '\240' in program
minimdoua.cpp:14:1: error: stray '\302' in program
minimdoua.cpp:14:1: error: stray '\240' in program
minimdoua.cpp:14:1: error: stray '\302' in program
minimdoua.cpp:14:1: error: stray '\240' in program
minimdoua.cpp:16:1: error: stray '\302' in program
     int n,x,v[201],l=0;

 ^
minimdoua.cpp:16:1: error: stray '\240' in program
minimdoua.cpp:16:1: error: stray '\302' in program
minimdoua.cpp:16:1: error: stray '\240' in program
minimdoua.cpp:16:1: error: stray '\302' in program
minimdoua.cpp:16:1: error: stray '\240' in program
minimdoua.cpp:16:1: error: stray '\302' in program
minimdoua.cpp:16:1: error: stray '\240' in program
minimdoua.cpp:18:1: error: stray '\302' in program
     cin>>n;

 ^
minimdoua.cpp:18:1: error: stray '\240' in program
minimdoua.cpp:18:1: error: stray '\302' in program
minimdoua.cpp:18:1: error: stray '\240' in program
minimdoua.cpp:18:1: error: stray '\302' in program
minimdoua.cpp:18:1: error: stray '\240' in program
minimdoua.cpp:18:1: error: stray '\302' in program
minimdoua.cpp:18:1: error: stray '\240' in program
minimdoua.cpp:20:1: error: stray '\302' in program
     for(int i=1; i<=n; i++)

 ^
minimdoua.cpp:20:1: error: stray '\240' in program
minimdoua.cpp:20:1: error: stray '\302' in program
minimdoua.cpp:20:1: error: stray '\240' in program
minimdoua.cpp:20:1: error: stray '\302' in program
minimdoua.cpp:20:1: error: stray '\240' in program
minimdoua.cpp:20:1: error: stray '\302' in program
minimdoua.cpp:20:1: error: stray '\240' in program
minimdoua.cpp:22:1: error: stray '\302' in program
     {

 ^
minimdoua.cpp:22:1: error: stray '\240' in program
minimdoua.cpp:22:1: error: stray '\302' in program
minimdoua.cpp:22:1: error: stray '\240' in program
minimdoua.cpp:22:1: error: stray '\302' in program
minimdoua.cpp:22:1: error: stray '\240' in program
minimdoua.cpp:22:1: error: stray '\302' in program
minimdoua.cpp:22:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
         cin>>x;

 ^
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:24:1: error: stray '\302' in program
minimdoua.cpp:24:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
         if(x>10)

 ^
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:26:1: error: stray '\302' in program
minimdoua.cpp:26:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
         if(x%10==x/10%10)

 ^
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:28:1: error: stray '\302' in program
minimdoua.cpp:28:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
             v[++l]=x;

 ^
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:30:1: error: stray '\302' in program
minimdoua.cpp:30:1: error: stray '\240' in program
minimdoua.cpp:32:1: error: stray '\302' in program
     }

 ^
minimdoua.cpp:32:1: error: stray '\240' in program
minimdoua.cpp:32:1: error: stray '\302' in program
minimdoua.cpp:32:1: error: stray '\240' in program
minimdoua.cpp:32:1: error: stray '\302' in program
minimdoua.cpp:32:1: error: stray '\240' in program
minimdoua.cpp:32:1: error: stray '\302' in program
minimdoua.cpp:32:1: error: stray '\240' in program
minimdoua.cpp:34:1: error: stray '\302' in program
     if(l>1)

 ^
minimdoua.cpp:34:1: error: stray '\240' in program
minimdoua.cpp:34:1: error: stray '\302' in program
minimdoua.cpp:34:1: error: stray '\240' in program
minimdoua.cpp:34:1: error: stray '\302' in program
minimdoua.cpp:34:1: error: stray '\240' in program
minimdoua.cpp:34:1: error: stray '\302' in program
minimdoua.cpp:34:1: error: stray '\240' in program
minimdoua.cpp:36:1: error: stray '\302' in program
     {

 ^
minimdoua.cpp:36:1: error: stray '\240' in program
minimdoua.cpp:36:1: error: stray '\302' in program
minimdoua.cpp:36:1: error: stray '\240' in program
minimdoua.cpp:36:1: error: stray '\302' in program
minimdoua.cpp:36:1: error: stray '\240' in program
minimdoua.cpp:36:1: error: stray '\302' in program
minimdoua.cpp:36:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
         for(int i=1;i<=l-1;i++)

 ^
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:38:1: error: stray '\302' in program
minimdoua.cpp:38:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
             for(int j=i+1;j<=l;j++)

 ^
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:40:1: error: stray '\302' in program
minimdoua.cpp:40:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
                 if(v[i]>v[j])

 ^
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:42:1: error: stray '\302' in program
minimdoua.cpp:42:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
                     swap(v[i],v[j]);

 ^
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:44:1: error: stray '\302' in program
minimdoua.cpp:44:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
         cout<<v[1]<<" "<<v[2];

 ^
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:46:1: error: stray '\302' in program
minimdoua.cpp:46:1: error: stray '\240' in program
minimdoua.cpp:49:1: error: stray '\302' in program
     }

 ^
minimdoua.cpp:49:1: error: stray '\240' in program
minimdoua.cpp:49:1: error: stray '\302' in program
minimdoua.cpp:49:1: error: stray '\240' in program
minimdoua.cpp:49:1: error: stray '\302' in program
minimdoua.cpp:49:1: error: stray '\240' in program
minimdoua.cpp:49:1: error: stray '\302' in program
minimdoua.cpp:49:1: error: stray '\240' in program
minimdoua.cpp:51:1: error: stray '\302' in program
     else

 ^
minimdoua.cpp:51:1: error: stray '\240' in program
minimdoua.cpp:51:1: error: stray '\302' in program
minimdoua.cpp:51:1: error: stray '\240' in program
minimdoua.cpp:51:1: error: stray '\302' in program
minimdoua.cpp:51:1: error: stray '\240' in program
minimdoua.cpp:51:1: error: stray '\302' in program
minimdoua.cpp:51:1: error: stray '\240' in program
minimdoua.cpp:53:1: error: stray '\302' in program
     {

 ^
minimdoua.cpp:53:1: error: stray '\240' in program
minimdoua.cpp:53:1: error: stray '\302' in program
minimdoua.cpp:53:1: error: stray '\240' in program
minimdoua.cpp:53:1: error: stray '\302' in program
minimdoua.cpp:53:1: error: stray '\240' in program
minimdoua.cpp:53:1: error: stray '\302' in program
minimdoua.cpp:53:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
         cout<<"numere insuficiente";

 ^
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:55:1: error: stray '\302' in program
minimdoua.cpp:55:1: error: stray '\240' in program
minimdoua.cpp:57:1: error: stray '\302' in program
     }

 ^
minimdoua.cpp:57:1: error: stray '\240' in program
minimdoua.cpp:57:1: error: stray '\302' in program
minimdoua.cpp:57:1: error: stray '\240' in program
minimdoua.cpp:57:1: error: stray '\302' in program
minimdoua.cpp:57:1: error: stray '\240' in program
minimdoua.cpp:57:1: error: stray '\302' in program
minimdoua.cpp:57:1: error: stray '\240' in program
minimdoua.cpp:59:1: error: stray '\302' in program
     return 0;

 ^
minimdoua.cpp:59:1: error: stray '\240' in program
minimdoua.cpp:59:1: error: stray '\302' in program
minimdoua.cpp:59:1: error: stray '\240' in program
minimdoua.cpp:59:1: error: stray '\302' in program
minimdoua.cpp:59:1: error: stray '\240' in program
minimdoua.cpp:59:1: error: stray '\302' in program
minimdoua.cpp:59: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 MinimDoua 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ă.