Detalii evaluare #22829578

Rezumat problemă

Se citesc perechi de numere naturale până la citirea a două valori nule. Să se determine câte dintre perechile X Y au proprietatea că prin concatenarea lui X cu Y sau a lui Y cu X să se obțină un palindrom.

Detalii

Problema Numere12 Operații I/O tastatură/ecran
Limita timp 0.1 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #22829578 Utilizator Shin Yu (iiShiro)
Fișier numere12.cpp Dimensiune 1.29 KB
Data încărcării 07 Mai 2020, 17:50 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

numere12.cpp:7:1: error: stray '\302' in program
     long long x, y, a, b, z, c, nrcifx, nrcify, nr1, nr2, inv1, inv2, k = 0;

 ^
numere12.cpp:7:1: error: stray '\240' in program
numere12.cpp:7:1: error: stray '\302' in program
numere12.cpp:7:1: error: stray '\240' in program
numere12.cpp:7:1: error: stray '\302' in program
numere12.cpp:7:1: error: stray '\240' in program
numere12.cpp:8:1: error: stray '\302' in program
     do

 ^
numere12.cpp:8:1: error: stray '\240' in program
numere12.cpp:8:1: error: stray '\302' in program
numere12.cpp:8:1: error: stray '\240' in program
numere12.cpp:8:1: error: stray '\302' in program
numere12.cpp:8:1: error: stray '\240' in program
numere12.cpp:9:1: error: stray '\302' in program
     {

 ^
numere12.cpp:9:1: error: stray '\240' in program
numere12.cpp:9:1: error: stray '\302' in program
numere12.cpp:9:1: error: stray '\240' in program
numere12.cpp:9:1: error: stray '\302' in program
numere12.cpp:9:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
         cin >> x;

 ^
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:10:1: error: stray '\302' in program
numere12.cpp:10:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
         cin >> y;

 ^
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:11:1: error: stray '\302' in program
numere12.cpp:11:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
         nrcifx = 0;

 ^
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:12:1: error: stray '\302' in program
numere12.cpp:12:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
         nrcify = 0;

 ^
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:13:1: error: stray '\302' in program
numere12.cpp:13:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
         a = x;

 ^
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:14:1: error: stray '\302' in program
numere12.cpp:14:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
         while (a != 0)

 ^
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:15:1: error: stray '\302' in program
numere12.cpp:15:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
         {

 ^
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:16:1: error: stray '\302' in program
numere12.cpp:16:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
             nrcifx = nrcifx + 1;

 ^
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:17:1: error: stray '\302' in program
numere12.cpp:17:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
             a = a / 10;

 ^
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:18:1: error: stray '\302' in program
numere12.cpp:18:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
         }

 ^
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:19:1: error: stray '\302' in program
numere12.cpp:19:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
         b = y;

 ^
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:20:1: error: stray '\302' in program
numere12.cpp:20:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
         while (b != 0)

 ^
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:21:1: error: stray '\302' in program
numere12.cpp:21:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
         {

 ^
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:22:1: error: stray '\302' in program
numere12.cpp:22:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
             nrcify = nrcify + 1;

 ^
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:23:1: error: stray '\302' in program
numere12.cpp:23:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
             b = b / 10;

 ^
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:24:1: error: stray '\302' in program
numere12.cpp:24:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
         }

 ^
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:25:1: error: stray '\302' in program
numere12.cpp:25:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
         nr1 = x*pow(10, nrcify) + y;

 ^
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:26:1: error: stray '\302' in program
numere12.cpp:26:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
         nr2 = y*pow(10, nrcifx) + x;

 ^
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:27:1: error: stray '\302' in program
numere12.cpp:27:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
         z = nr1;

 ^
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:28:1: error: stray '\302' in program
numere12.cpp:28:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
         c = nr2;

 ^
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:29:1: error: stray '\302' in program
numere12.cpp:29:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
         inv1 = 0;

 ^
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:30:1: error: stray '\302' in program
numere12.cpp:30:1: error: stray '\240' in program
numere12.cpp:31:1: error: stray '\302' in program
         while (nr1)

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

 ^
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:32:1: error: stray '\302' in program
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:32:1: error: stray '\302' in program
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:32:1: error: stray '\302' in program
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:32:1: error: stray '\302' in program
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:32:1: error: stray '\302' in program
numere12.cpp:32:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
             inv1 = inv1 * 10 + nr1 % 10;

 ^
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:33:1: error: stray '\302' in program
numere12.cpp:33:1: error: stray '\240' in program
numere12.cpp:34:1: error: stray '\302' in program
             nr1 = nr1 / 10;

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

 ^
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:35:1: error: stray '\302' in program
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:35:1: error: stray '\302' in program
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:35:1: error: stray '\302' in program
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:35:1: error: stray '\302' in program
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:35:1: error: stray '\302' in program
numere12.cpp:35:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
         inv2 = 0;

 ^
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:36:1: error: stray '\302' in program
numere12.cpp:36:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
         while (nr2)

 ^
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:37:1: error: stray '\302' in program
numere12.cpp:37:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
         {

 ^
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:38:1: error: stray '\302' in program
numere12.cpp:38:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
             inv2 = inv2 * 10 + nr2 % 10;

 ^
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:39:1: error: stray '\302' in program
numere12.cpp:39:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
             nr2 = nr2 / 10;

 ^
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:40:1: error: stray '\302' in program
numere12.cpp:40:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
         }

 ^
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:41:1: error: stray '\302' in program
numere12.cpp:41:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
         if (z == inv1 || c == inv2)

 ^
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:42:1: error: stray '\302' in program
numere12.cpp:42:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
             k = k + 1;

 ^
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:43:1: error: stray '\302' in program
numere12.cpp:43:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
         if (x == 0 && y == 0)

 ^
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:44:1: error: stray '\302' in program
numere12.cpp:44:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
             k = k - 1;

 ^
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:45:1: error: stray '\302' in program
numere12.cpp:45:1: error: stray '\240' in program
numere12.cpp:46:1: error: stray '\302' in program
     } while (x != 0 && y != 0);

 ^
numere12.cpp:46:1: error: stray '\240' in program
numere12.cpp:46:1: error: stray '\302' in program
numere12.cpp:46:1: error: stray '\240' in program
numere12.cpp:46:1: error: stray '\302' in program
numere12.cpp:46:1: error: stray '\240' in program
numere12.cpp:47:1: error: stray '\302' in program
     cout << k;

 ^
numere12.cpp:47:1: error: stray '\240' in program
numere12.cpp:47:1: error: stray '\302' in program
numere12.cpp:47:1: error: stray '\240' in program
numere12.cpp:47:1: error: stray '\302' in program
numere12.cpp:47:1: error: stray '\240' in program
numere12.cpp:48:1: error: stray '\302' in program
     return 0;

 ^
numere12.cpp:48:1: error: stray '\240' in program
numere12.cpp:48:1: error: stray '\302' in program
numere12.cpp:48:1: error: stray '\240' in program
numere12.cpp:48:1: error: stray '\302' in program
numere12.cpp:48: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 Numere12 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ă.