Detalii evaluare #11072372

Rezumat problemă

Se citește un număr natural n cu cel mult 16 cifre. Fie q numărul de cifre ale numărului n. Prin eliminarea unei singure cifre din scrierea numărului n se obține un șir de q numere. Să se afișeze în ordine crescătoare, numerele nenule din acest șir care sunt prime cu numărul n.

Detalii

Problema numere16 Operații I/O numere16.in/numere16.out
Limita timp 0.01 secunde Limita memorie Total: 64 MB / Stivă 8 MB
Id soluție #11072372 Utilizator Mocanu Alexandru (mocanualexandru2001)
Fișier numere16.cpp Dimensiune 1.31 KB
Data încărcării 17 Octombrie 2018, 00:57 Scor / rezultat Eroare de compilare

Evaluare


Mesaj compilare

numere16.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <bits/stdc++.h>

         ^
numere16.cpp:3:1: error: stray '\302' in program
 using namespace std;

 ^
numere16.cpp:3:1: error: stray '\240' in program
numere16.cpp:3:1: error: stray '\302' in program
numere16.cpp:3:1: error: stray '\240' in program
numere16.cpp:5:1: error: stray '\302' in program
 ifstream fin("numere16.in");

 ^
numere16.cpp:5:1: error: stray '\240' in program
numere16.cpp:6:1: error: stray '\302' in program
 ofstream fout("numere16.out");

 ^
numere16.cpp:6:1: error: stray '\240' in program
numere16.cpp:8:1: error: stray '\302' in program
 unsigned long long int n,a[17],q,j;

 ^
numere16.cpp:8:1: error: stray '\240' in program
numere16.cpp:8:1: error: stray '\302' in program
numere16.cpp:8:1: error: stray '\240' in program
numere16.cpp:8:1: error: stray '\302' in program
numere16.cpp:8:1: error: stray '\240' in program
numere16.cpp:8:1: error: stray '\302' in program
numere16.cpp:8:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
 unsigned long long int nrcifre(unsigned long long int k);

 ^
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:10:1: error: stray '\302' in program
numere16.cpp:10:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
 unsigned long long int Nod(unsigned long long int a, unsigned long long int b);

 ^
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:11:1: error: stray '\302' in program
numere16.cpp:11:1: error: stray '\240' in program
numere16.cpp:13:1: error: stray '\302' in program
 int main()

 ^
numere16.cpp:13:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
     fin >> n;

 ^
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:16:1: error: stray '\302' in program
numere16.cpp:16:1: error: stray '\240' in program
numere16.cpp:18:1: error: stray '\302' in program
     while(q!=nrcifre(n))

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

 ^
numere16.cpp:19:1: error: stray '\240' in program
numere16.cpp:19:1: error: stray '\302' in program
numere16.cpp:19:1: error: stray '\240' in program
numere16.cpp:19:1: error: stray '\302' in program
numere16.cpp:19:1: error: stray '\240' in program
numere16.cpp:19:1: error: stray '\302' in program
numere16.cpp:19:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
         int s=0;

 ^
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:20:1: error: stray '\302' in program
numere16.cpp:20:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
         unsigned long long int n1=0,x=n,k=1;

 ^
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:21:1: error: stray '\302' in program
numere16.cpp:21:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
         q++;

 ^
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:22:1: error: stray '\302' in program
numere16.cpp:22:1: error: stray '\240' in program
numere16.cpp:23:1: error: stray '\302' in program
         while(x!=0)

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

 ^
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:24:1: error: stray '\302' in program
numere16.cpp:24:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
             s++;

 ^
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:25:1: error: stray '\302' in program
numere16.cpp:25:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
             if(s!=q) n1+=(x%10)*k, k*=10;

 ^
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:26:1: error: stray '\302' in program
numere16.cpp:26:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
             x/=10;

 ^
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:27:1: error: stray '\302' in program
numere16.cpp:27:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
         }

 ^
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:28:1: error: stray '\302' in program
numere16.cpp:28:1: error: stray '\240' in program
numere16.cpp:29:1: error: stray '\302' in program
         if (Nod(n,n1)==1) a[j++]=n1;

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

 ^
numere16.cpp:30:1: error: stray '\240' in program
numere16.cpp:30:1: error: stray '\302' in program
numere16.cpp:30:1: error: stray '\240' in program
numere16.cpp:30:1: error: stray '\302' in program
numere16.cpp:30:1: error: stray '\240' in program
numere16.cpp:30:1: error: stray '\302' in program
numere16.cpp:30:1: error: stray '\240' in program
numere16.cpp:32:1: error: stray '\302' in program
     sort(a,a+j);

 ^
numere16.cpp:32:1: error: stray '\240' in program
numere16.cpp:32:1: error: stray '\302' in program
numere16.cpp:32:1: error: stray '\240' in program
numere16.cpp:32:1: error: stray '\302' in program
numere16.cpp:32:1: error: stray '\240' in program
numere16.cpp:32:1: error: stray '\302' in program
numere16.cpp:32:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
     if(j==0) fout << "NU EXISTA";

 ^
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:34:1: error: stray '\302' in program
numere16.cpp:34:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
         else for(int i=0;i<j;i++)

 ^
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:35:1: error: stray '\302' in program
numere16.cpp:35:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
             fout << a[i] << " ";

 ^
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:36:1: error: stray '\302' in program
numere16.cpp:36:1: error: stray '\240' in program
numere16.cpp:38:1: error: stray '\302' in program
     return 0;

 ^
numere16.cpp:38:1: error: stray '\240' in program
numere16.cpp:38:1: error: stray '\302' in program
numere16.cpp:38:1: error: stray '\240' in program
numere16.cpp:38:1: error: stray '\302' in program
numere16.cpp:38:1: error: stray '\240' in program
numere16.cpp:38:1: error: stray '\302' in program
numere16.cpp:38:1: error: stray '\240' in program
numere16.cpp:38:1: error: stray '\302' in program
numere16.cpp:38:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
 unsigned long long int nrcifre(unsigned long long int k)

 ^
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:43:1: error: stray '\302' in program
numere16.cpp:43:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
     if(k<10) return 1;

 ^
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:45:1: error: stray '\302' in program
numere16.cpp:45:1: error: stray '\240' in program
numere16.cpp:46:1: error: stray '\302' in program
     int s=0;

 ^
numere16.cpp:46:1: error: stray '\240' in program
numere16.cpp:46:1: error: stray '\302' in program
numere16.cpp:46:1: error: stray '\240' in program
numere16.cpp:46:1: error: stray '\302' in program
numere16.cpp:46:1: error: stray '\240' in program
numere16.cpp:46:1: error: stray '\302' in program
numere16.cpp:46:1: error: stray '\240' in program
numere16.cpp:46:1: error: stray '\302' in program
numere16.cpp:46:1: error: stray '\240' in program
numere16.cpp:47:1: error: stray '\302' in program
     while(k!=0)

 ^
numere16.cpp:47:1: error: stray '\240' in program
numere16.cpp:47:1: error: stray '\302' in program
numere16.cpp:47:1: error: stray '\240' in program
numere16.cpp:47:1: error: stray '\302' in program
numere16.cpp:47:1: error: stray '\240' in program
numere16.cpp:47:1: error: stray '\302' in program
numere16.cpp:47:1: error: stray '\240' in program
numere16.cpp:48:1: error: stray '\302' in program
     {

 ^
numere16.cpp:48:1: error: stray '\240' in program
numere16.cpp:48:1: error: stray '\302' in program
numere16.cpp:48:1: error: stray '\240' in program
numere16.cpp:48:1: error: stray '\302' in program
numere16.cpp:48:1: error: stray '\240' in program
numere16.cpp:48:1: error: stray '\302' in program
numere16.cpp:48:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
         s++;

 ^
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:49:1: error: stray '\302' in program
numere16.cpp:49:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
         k/=10;

 ^
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:50:1: error: stray '\302' in program
numere16.cpp:50:1: error: stray '\240' in program
numere16.cpp:51:1: error: stray '\302' in program
     }

 ^
numere16.cpp:51:1: error: stray '\240' in program
numere16.cpp:51:1: error: stray '\302' in program
numere16.cpp:51:1: error: stray '\240' in program
numere16.cpp:51:1: error: stray '\302' in program
numere16.cpp:51:1: error: stray '\240' in program
numere16.cpp:51:1: error: stray '\302' in program
numere16.cpp:51:1: error: stray '\240' in program
numere16.cpp:52:1: error: stray '\302' in program
     return s;

 ^
numere16.cpp:52:1: error: stray '\240' in program
numere16.cpp:52:1: error: stray '\302' in program
numere16.cpp:52:1: error: stray '\240' in program
numere16.cpp:52:1: error: stray '\302' in program
numere16.cpp:52:1: error: stray '\240' in program
numere16.cpp:52:1: error: stray '\302' in program
numere16.cpp:52:1: error: stray '\240' in program
numere16.cpp:52:1: error: stray '\302' in program
numere16.cpp:52:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
 unsigned long long int Nod (unsigned long long int a, unsigned long long int b) {

 ^
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:55:1: error: stray '\302' in program
numere16.cpp:55:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
     return b ? Nod (b, a % b) : a;

 ^
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:56:1: error: stray '\302' in program
numere16.cpp:56:1: error: stray '\240' in program
numere16.cpp:5:1: error: 'ifstream' does not name a type
 ifstream fin("numere16.in");

 ^
numere16.cpp:6:1: error: 'ofstream' does not name a type
 ofstream fout("numere16.out");

 ^
numere16.cpp: In function 'int main()':
numere16.cpp:16:9: error: 'fin' was not declared in this scope
     fin >> n;

         ^
numere16.cpp:26:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(s!=q) n1+=(x%10)*k, k*=10;

                               ^
numere16.cpp:32:19: error: 'sort' was not declared in this scope
     sort(a,a+j);

                   ^
numere16.cpp:34:19: error: 'fout' was not declared in this scope
     if(j==0) fout << "NU EXISTA";

                   ^
numere16.cpp:35:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         else for(int i=0;i<j;i++)

                                      ^
numere16.cpp:36:25: error: 'fout' was not declared in this scope
             fout << a[i] << " ";

                         ^

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