Detalii evaluare #54238342

Rezumat problemă

Se citesc 3 numere naturale z l a. Să se decidă dacă reprezintă o dată calendaristică corectă, în format zi luna an.

Detalii

Problema Calendar Operații I/O tastatură/ecran
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #54238342 Utilizator Cornea Adina (AdinaE)
Fișier calendar.cpp Dimensiune 1.82 KB
Data încărcării 23 Noiembrie 2024, 09:19 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

calendar.cpp:8:1: error: stray '\302' in program
     int a,l,z;

 ^
calendar.cpp:8:1: error: stray '\240' in program
calendar.cpp:8:1: error: stray '\302' in program
calendar.cpp:8:1: error: stray '\240' in program
calendar.cpp:9:1: error: stray '\302' in program
     cin>>z>>l>>a;

 ^
calendar.cpp:9:1: error: stray '\240' in program
calendar.cpp:9:1: error: stray '\302' in program
calendar.cpp:9:1: error: stray '\240' in program
calendar.cpp:10:1: error: stray '\302' in program
     if(a>=1850 && a<=2500)

 ^
calendar.cpp:10:1: error: stray '\240' in program
calendar.cpp:10:1: error: stray '\302' in program
calendar.cpp:10:1: error: stray '\240' in program
calendar.cpp:11:1: error: stray '\302' in program
     {

 ^
calendar.cpp:11:1: error: stray '\240' in program
calendar.cpp:11:1: error: stray '\302' in program
calendar.cpp:11:1: error: stray '\240' in program
calendar.cpp:12:1: error: stray '\302' in program
         if(l==1 || l==3 || l==5 || l==7 || l==8 || l==10 || l==12)

 ^
calendar.cpp:12:1: error: stray '\240' in program
calendar.cpp:12:1: error: stray '\302' in program
calendar.cpp:12:1: error: stray '\240' in program
calendar.cpp:12:1: error: stray '\302' in program
calendar.cpp:12:1: error: stray '\240' in program
calendar.cpp:12:1: error: stray '\302' in program
calendar.cpp:12:1: error: stray '\240' in program
calendar.cpp:13:1: error: stray '\302' in program
         {

 ^
calendar.cpp:13:1: error: stray '\240' in program
calendar.cpp:13:1: error: stray '\302' in program
calendar.cpp:13:1: error: stray '\240' in program
calendar.cpp:13:1: error: stray '\302' in program
calendar.cpp:13:1: error: stray '\240' in program
calendar.cpp:13:1: error: stray '\302' in program
calendar.cpp:13:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
             if(z>0 && z<=31)

 ^
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:14:1: error: stray '\302' in program
calendar.cpp:14:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
             {

 ^
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:15:1: error: stray '\302' in program
calendar.cpp:15:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
                 cout<<"DA";

 ^
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:16:1: error: stray '\302' in program
calendar.cpp:16:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
             }

 ^
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:17:1: error: stray '\302' in program
calendar.cpp:17:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
             else

 ^
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:18:1: error: stray '\302' in program
calendar.cpp:18:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
             {

 ^
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:19:1: error: stray '\302' in program
calendar.cpp:19:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
                 cout<<"NU";

 ^
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:20:1: error: stray '\302' in program
calendar.cpp:20:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
             }

 ^
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:21:1: error: stray '\302' in program
calendar.cpp:21:1: error: stray '\240' in program
calendar.cpp:22:1: error: stray '\302' in program
         }

 ^
calendar.cpp:22:1: error: stray '\240' in program
calendar.cpp:22:1: error: stray '\302' in program
calendar.cpp:22:1: error: stray '\240' in program
calendar.cpp:22:1: error: stray '\302' in program
calendar.cpp:22:1: error: stray '\240' in program
calendar.cpp:22:1: error: stray '\302' in program
calendar.cpp:22:1: error: stray '\240' in program
calendar.cpp:23:1: error: stray '\302' in program
         else

 ^
calendar.cpp:23:1: error: stray '\240' in program
calendar.cpp:23:1: error: stray '\302' in program
calendar.cpp:23:1: error: stray '\240' in program
calendar.cpp:23:1: error: stray '\302' in program
calendar.cpp:23:1: error: stray '\240' in program
calendar.cpp:23:1: error: stray '\302' in program
calendar.cpp:23:1: error: stray '\240' in program
calendar.cpp:24:1: error: stray '\302' in program
         {

 ^
calendar.cpp:24:1: error: stray '\240' in program
calendar.cpp:24:1: error: stray '\302' in program
calendar.cpp:24:1: error: stray '\240' in program
calendar.cpp:24:1: error: stray '\302' in program
calendar.cpp:24:1: error: stray '\240' in program
calendar.cpp:24:1: error: stray '\302' in program
calendar.cpp:24:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
             if(l==4 || l==6 || l==9 || l==11)

 ^
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:25:1: error: stray '\302' in program
calendar.cpp:25:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
             {

 ^
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:26:1: error: stray '\302' in program
calendar.cpp:26:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
                 if(z>0 && z<=30)

 ^
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:27:1: error: stray '\302' in program
calendar.cpp:27:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
                 {

 ^
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:28:1: error: stray '\302' in program
calendar.cpp:28:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
                     cout<<"DA";

 ^
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:29:1: error: stray '\302' in program
calendar.cpp:29:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
                 }

 ^
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:30:1: error: stray '\302' in program
calendar.cpp:30:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
                 else

 ^
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:31:1: error: stray '\302' in program
calendar.cpp:31:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
                 {

 ^
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:32:1: error: stray '\302' in program
calendar.cpp:32:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
                     cout<<"NU";

 ^
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:33:1: error: stray '\302' in program
calendar.cpp:33:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
                 }

 ^
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:34:1: error: stray '\302' in program
calendar.cpp:34:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
             }

 ^
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:35:1: error: stray '\302' in program
calendar.cpp:35:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
             else

 ^
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:36:1: error: stray '\302' in program
calendar.cpp:36:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
             {

 ^
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:37:1: error: stray '\302' in program
calendar.cpp:37:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
                 if(a%4==0 && a%100!=0 || a%400==0)

 ^
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:38:1: error: stray '\302' in program
calendar.cpp:38:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
                 {

 ^
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:39:1: error: stray '\302' in program
calendar.cpp:39:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
                     if(z>0 && z<=29)

 ^
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:40:1: error: stray '\302' in program
calendar.cpp:40:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
                     {

 ^
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:41:1: error: stray '\302' in program
calendar.cpp:41:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
                         cout<<"DA";

 ^
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:42:1: error: stray '\302' in program
calendar.cpp:42:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
                     }

 ^
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:43:1: error: stray '\302' in program
calendar.cpp:43:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
                     else

 ^
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:44:1: error: stray '\302' in program
calendar.cpp:44:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
                     {

 ^
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:45:1: error: stray '\302' in program
calendar.cpp:45:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
                         cout<<"NU";

 ^
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:46:1: error: stray '\302' in program
calendar.cpp:46:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
                     }

 ^
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:47:1: error: stray '\302' in program
calendar.cpp:47:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
                 }

 ^
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:48:1: error: stray '\302' in program
calendar.cpp:48:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
                 else

 ^
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:49:1: error: stray '\302' in program
calendar.cpp:49:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
                 {

 ^
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:50:1: error: stray '\302' in program
calendar.cpp:50:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
                     if(z>0 && z<=28)

 ^
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:51:1: error: stray '\302' in program
calendar.cpp:51:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
                     {

 ^
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:52:1: error: stray '\302' in program
calendar.cpp:52:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
                         cout<<"DA";

 ^
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:53:1: error: stray '\302' in program
calendar.cpp:53:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
                     }

 ^
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:54:1: error: stray '\302' in program
calendar.cpp:54:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
                     else

 ^
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:55:1: error: stray '\302' in program
calendar.cpp:55:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
                     {

 ^
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:56:1: error: stray '\302' in program
calendar.cpp:56:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
                         cout<<"NU";

 ^
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:57:1: error: stray '\302' in program
calendar.cpp:57:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
                     }

 ^
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:58:1: error: stray '\302' in program
calendar.cpp:58:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
                 }

 ^
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:59:1: error: stray '\302' in program
calendar.cpp:59:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
             }

 ^
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:61:1: error: stray '\302' in program
calendar.cpp:61:1: error: stray '\240' in program
calendar.cpp:62:1: error: stray '\302' in program
         }

 ^
calendar.cpp:62:1: error: stray '\240' in program
calendar.cpp:62:1: error: stray '\302' in program
calendar.cpp:62:1: error: stray '\240' in program
calendar.cpp:62:1: error: stray '\302' in program
calendar.cpp:62:1: error: stray '\240' in program
calendar.cpp:62:1: error: stray '\302' in program
calendar.cpp:62:1: error: stray '\240' in program
calendar.cpp:63:1: error: stray '\302' in program
     }

 ^
calendar.cpp:63:1: error: stray '\240' in program
calendar.cpp:63:1: error: stray '\302' in program
calendar.cpp:63:1: error: stray '\240' in program
calendar.cpp:64:1: error: stray '\302' in program
     else

 ^
calendar.cpp:64:1: error: stray '\240' in program
calendar.cpp:64:1: error: stray '\302' in program
calendar.cpp:64:1: error: stray '\240' in program
calendar.cpp:65:1: error: stray '\302' in program
     {

 ^
calendar.cpp:65:1: error: stray '\240' in program
calendar.cpp:65:1: error: stray '\302' in program
calendar.cpp:65:1: error: stray '\240' in program
calendar.cpp:66:1: error: stray '\302' in program
         cout<<"NU";

 ^
calendar.cpp:66:1: error: stray '\240' in program
calendar.cpp:66:1: error: stray '\302' in program
calendar.cpp:66:1: error: stray '\240' in program
calendar.cpp:66:1: error: stray '\302' in program
calendar.cpp:66:1: error: stray '\240' in program
calendar.cpp:66:1: error: stray '\302' in program
calendar.cpp:66:1: error: stray '\240' in program
calendar.cpp:67:1: error: stray '\302' in program
     }

 ^
calendar.cpp:67:1: error: stray '\240' in program
calendar.cpp:67:1: error: stray '\302' in program
calendar.cpp:67:1: error: stray '\240' in program
calendar.cpp:69:1: error: stray '\302' in program
     return 0;

 ^
calendar.cpp:69:1: error: stray '\240' in program
calendar.cpp:69:1: error: stray '\302' in program
calendar.cpp:69:1: error: stray '\240' in program
calendar.cpp:1:1: error: 'Problema' does not name a type
 Problema Calendar:

 ^
In file included from /usr/include/c++/4.8/iosfwd:40:0,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type
   typedef ptrdiff_t streamsize; // Signed integral type
           ^
In file included from /usr/include/c++/4.8/exception:152:0,
                 from /usr/include/c++/4.8/ios:39,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/bits/exception_ptr.h:95:30: error: field 'nullptr_t' has incomplete type
       exception_ptr(nullptr_t) noexcept
                              ^
/usr/include/c++/4.8/bits/exception_ptr.h:95:30: error: expected ';' at end of member declaration
/usr/include/c++/4.8/bits/exception_ptr.h:95:32: error: expected unqualified-id before 'noexcept'
       exception_ptr(nullptr_t) noexcept
                                ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:285:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/include/c++/4.8/type_traits:419:34: error: 'nullptr_t' is not a member of 'std'
     struct __is_nullptr_t_helper<std::nullptr_t>
                                  ^
/usr/include/c++/4.8/type_traits:419:34: error: 'nullptr_t' is not a member of 'std'
/usr/include/c++/4.8/type_traits:419:48: error: template argument 1 is invalid
     struct __is_nullptr_t_helper<std::nullptr_t>
                                                ^
/usr/include/c++/4.8/type_traits:1239:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
/usr/include/c++/4.8/type_traits:1239:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1239:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                ^
/usr/include/c++/4.8/type_traits:1239:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1239:61: error: template argument 1 is invalid
     : public integral_constant<std::size_t, __alignof__(_Tp)> { };
                                                             ^
/usr/include/c++/4.8/type_traits:1239:61: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1244:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/include/c++/4.8/type_traits:1244:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1244:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/include/c++/4.8/type_traits:1244:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1244:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/include/c++/4.8/type_traits:1244:46: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1246:31: error: 'std::size_t' has not been declared
   template<typename _Tp, std::size_t _Size>
                               ^
/usr/include/c++/4.8/type_traits:1248:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/include/c++/4.8/type_traits:1248:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1248:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/include/c++/4.8/type_traits:1248:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1248:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/include/c++/4.8/type_traits:1248:65: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1252:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/include/c++/4.8/type_traits:1252:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1252:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                ^
/usr/include/c++/4.8/type_traits:1252:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1252:65: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 1 + rank<_Tp>::value> { };
                                                                 ^
/usr/include/c++/4.8/type_traits:1252:65: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1257:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/include/c++/4.8/type_traits:1257:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1257:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t, 0> { };
                                ^
/usr/include/c++/4.8/type_traits:1257:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1257:46: error: template argument 1 is invalid
     : public integral_constant<std::size_t, 0> { };
                                              ^
/usr/include/c++/4.8/type_traits:1257:46: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1259:47: error: 'std::size_t' has not been declared
   template<typename _Tp, unsigned _Uint, std::size_t _Size>
                                               ^
/usr/include/c++/4.8/type_traits:1261:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
/usr/include/c++/4.8/type_traits:1261:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1261:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
/usr/include/c++/4.8/type_traits:1261:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1263:28: error: template argument 1 is invalid
           _Uint - 1>::value>
                            ^
/usr/include/c++/4.8/type_traits:1263:28: note: invalid template non-type parameter
/usr/include/c++/4.8/type_traits:1268:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
/usr/include/c++/4.8/type_traits:1268:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/cwchar:44,
                 from /usr/include/c++/4.8/bits/postypes.h:40,
                 from /usr/include/c++/4.8/iosfwd:40,
                 from /usr/include/c++/4.8/ios:38,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/lib/gcc/i686-linux-gnu/4.8/include/stddef.h:212:23: note:   'size_t'
 typedef __SIZE_TYPE__ size_t;
                       ^
In file included from /usr/include/c++/4.8/bits/move.h:57:0,
                 from /usr/include/c++/4.8/bits/stl_pair.h:59,
                 from /usr/include/c++/4.8/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from calendar.cpp:2:
/usr/include/c++/4.8/type_traits:1268:32: error: 'size_t' is not a member of 'std'
     : public integral_constant<std::size_t,
                                ^
/usr/include/c++/4.8/type_traits:1268:32: note: suggested alternative:
In file included from /usr/include/wchar.h:51:0,
                 from /usr/include/c++/4.8/

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