Detalii evaluare #11327312

Rezumat problemă

Se citește de la tastatură un număr natural ce reprezintă o lună a anului (dacă citim 3 ne referim la a treia lună, deci Martie). Programul va afișa (câte unul pe rând) numele lunilor rămase în acel an după cea citită.

Detalii

Problema luniramase Operații I/O tastatură/ecran
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #11327312 Utilizator Savulescu Oana (oanasavulescu)
Fișier luniramase.cpp Dimensiune 683 B
Data încărcării 24 Octombrie 2018, 23:25 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

luniramase.cpp:11:2: error: stray '\302' in program
     int l;

  ^
luniramase.cpp:11:2: error: stray '\240' in program
luniramase.cpp:11:2: error: stray '\302' in program
luniramase.cpp:11:2: error: stray '\240' in program
luniramase.cpp:13:2: error: stray '\302' in program
     cin>>l;

  ^
luniramase.cpp:13:2: error: stray '\240' in program
luniramase.cpp:13:2: error: stray '\302' in program
luniramase.cpp:13:2: error: stray '\240' in program
luniramase.cpp:15:2: error: stray '\302' in program
     switch(l)

  ^
luniramase.cpp:15:2: error: stray '\240' in program
luniramase.cpp:15:2: error: stray '\302' in program
luniramase.cpp:15:2: error: stray '\240' in program
luniramase.cpp:17:2: error: stray '\302' in program
     {

  ^
luniramase.cpp:17:2: error: stray '\240' in program
luniramase.cpp:17:2: error: stray '\302' in program
luniramase.cpp:17:2: error: stray '\240' in program
luniramase.cpp:19:2: error: stray '\302' in program
         case 1: cout<<"Februarie"<<endl;

  ^
luniramase.cpp:19:2: error: stray '\240' in program
luniramase.cpp:19:2: error: stray '\302' in program
luniramase.cpp:19:2: error: stray '\240' in program
luniramase.cpp:19:2: error: stray '\302' in program
luniramase.cpp:19:2: error: stray '\240' in program
luniramase.cpp:19:2: error: stray '\302' in program
luniramase.cpp:19:2: error: stray '\240' in program
luniramase.cpp:21:2: error: stray '\302' in program
         case 2: cout<<"Martie"<<endl;

  ^
luniramase.cpp:21:2: error: stray '\240' in program
luniramase.cpp:21:2: error: stray '\302' in program
luniramase.cpp:21:2: error: stray '\240' in program
luniramase.cpp:21:2: error: stray '\302' in program
luniramase.cpp:21:2: error: stray '\240' in program
luniramase.cpp:21:2: error: stray '\302' in program
luniramase.cpp:21:2: error: stray '\240' in program
luniramase.cpp:23:2: error: stray '\302' in program
         case 3: cout<<"Aprilie"<<endl;

  ^
luniramase.cpp:23:2: error: stray '\240' in program
luniramase.cpp:23:2: error: stray '\302' in program
luniramase.cpp:23:2: error: stray '\240' in program
luniramase.cpp:23:2: error: stray '\302' in program
luniramase.cpp:23:2: error: stray '\240' in program
luniramase.cpp:23:2: error: stray '\302' in program
luniramase.cpp:23:2: error: stray '\240' in program
luniramase.cpp:25:2: error: stray '\302' in program
         case 4: cout<<"Mai"<<endl;

  ^
luniramase.cpp:25:2: error: stray '\240' in program
luniramase.cpp:25:2: error: stray '\302' in program
luniramase.cpp:25:2: error: stray '\240' in program
luniramase.cpp:25:2: error: stray '\302' in program
luniramase.cpp:25:2: error: stray '\240' in program
luniramase.cpp:25:2: error: stray '\302' in program
luniramase.cpp:25:2: error: stray '\240' in program
luniramase.cpp:27:2: error: stray '\302' in program
         case 5: cout<<"Iunie"<<endl;

  ^
luniramase.cpp:27:2: error: stray '\240' in program
luniramase.cpp:27:2: error: stray '\302' in program
luniramase.cpp:27:2: error: stray '\240' in program
luniramase.cpp:27:2: error: stray '\302' in program
luniramase.cpp:27:2: error: stray '\240' in program
luniramase.cpp:27:2: error: stray '\302' in program
luniramase.cpp:27:2: error: stray '\240' in program
luniramase.cpp:29:2: error: stray '\302' in program
         case 6: cout<<"Iulie"<<endl;

  ^
luniramase.cpp:29:2: error: stray '\240' in program
luniramase.cpp:29:2: error: stray '\302' in program
luniramase.cpp:29:2: error: stray '\240' in program
luniramase.cpp:29:2: error: stray '\302' in program
luniramase.cpp:29:2: error: stray '\240' in program
luniramase.cpp:29:2: error: stray '\302' in program
luniramase.cpp:29:2: error: stray '\240' in program
luniramase.cpp:31:2: error: stray '\302' in program
         case 7: cout<<"August"<<endl;

  ^
luniramase.cpp:31:2: error: stray '\240' in program
luniramase.cpp:31:2: error: stray '\302' in program
luniramase.cpp:31:2: error: stray '\240' in program
luniramase.cpp:31:2: error: stray '\302' in program
luniramase.cpp:31:2: error: stray '\240' in program
luniramase.cpp:31:2: error: stray '\302' in program
luniramase.cpp:31:2: error: stray '\240' in program
luniramase.cpp:33:2: error: stray '\302' in program
         case 8: cout<<"Septembrie"<<endl;

  ^
luniramase.cpp:33:2: error: stray '\240' in program
luniramase.cpp:33:2: error: stray '\302' in program
luniramase.cpp:33:2: error: stray '\240' in program
luniramase.cpp:33:2: error: stray '\302' in program
luniramase.cpp:33:2: error: stray '\240' in program
luniramase.cpp:33:2: error: stray '\302' in program
luniramase.cpp:33:2: error: stray '\240' in program
luniramase.cpp:35:2: error: stray '\302' in program
         case 9: cout<<"Octombrie"<<endl;

  ^
luniramase.cpp:35:2: error: stray '\240' in program
luniramase.cpp:35:2: error: stray '\302' in program
luniramase.cpp:35:2: error: stray '\240' in program
luniramase.cpp:35:2: error: stray '\302' in program
luniramase.cpp:35:2: error: stray '\240' in program
luniramase.cpp:35:2: error: stray '\302' in program
luniramase.cpp:35:2: error: stray '\240' in program
luniramase.cpp:37:2: error: stray '\302' in program
         case 10: cout<<"Noiembrie"<<endl;

  ^
luniramase.cpp:37:2: error: stray '\240' in program
luniramase.cpp:37:2: error: stray '\302' in program
luniramase.cpp:37:2: error: stray '\240' in program
luniramase.cpp:37:2: error: stray '\302' in program
luniramase.cpp:37:2: error: stray '\240' in program
luniramase.cpp:37:2: error: stray '\302' in program
luniramase.cpp:37:2: error: stray '\240' in program
luniramase.cpp:39:2: error: stray '\302' in program
         case 11: cout<<"Decembrie"<<endl;break;

  ^
luniramase.cpp:39:2: error: stray '\240' in program
luniramase.cpp:39:2: error: stray '\302' in program
luniramase.cpp:39:2: error: stray '\240' in program
luniramase.cpp:39:2: error: stray '\302' in program
luniramase.cpp:39:2: error: stray '\240' in program
luniramase.cpp:39:2: error: stray '\302' in program
luniramase.cpp:39:2: error: stray '\240' in program
luniramase.cpp:41:2: error: stray '\302' in program
     }

  ^
luniramase.cpp:41:2: error: stray '\240' in program
luniramase.cpp:41:2: error: stray '\302' in program
luniramase.cpp:41:2: error: stray '\240' in program
luniramase.cpp:43:2: error: stray '\302' in program
     return 0;

  ^
luniramase.cpp:43:2: error: stray '\240' in program
luniramase.cpp:43:2: error: stray '\302' in program
luniramase.cpp:43:2: 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 luniramase 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ă.