#232
EliminareNumere
Să se scrie un program care citeşte de la tastatură un şir de caractere format din cuvinte, numere spații şi elimină din şir numerele care au parte fracționară.
Subiect Bacalaureat 2010
Problema | EliminareNumere | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #17042941 | Utilizator | |
Fișier | eliminarenumere.cpp | Dimensiune | 1001 B |
Data încărcării | 29 Septembrie 2019, 14:58 | Scor / rezultat | Eroare de compilare |
eliminarenumere.cpp:1:9: error: #include expects "FILENAME" or <FILENAME> #include <cstdio> ^ eliminarenumere.cpp:2:9: error: #include expects "FILENAME" or <FILENAME> #include <cstring> ^ eliminarenumere.cpp:3:1: error: stray '\302' in program using namespace std; ^ eliminarenumere.cpp:3:1: error: stray '\240' in program eliminarenumere.cpp:3:1: error: stray '\302' in program eliminarenumere.cpp:3:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program int a, i, j, nr, p, w[105]; ^ eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:4:1: error: stray '\302' in program eliminarenumere.cpp:4:1: error: stray '\240' in program eliminarenumere.cpp:5:1: error: stray '\302' in program char s[105]; ^ eliminarenumere.cpp:5:1: error: stray '\240' in program eliminarenumere.cpp:6:1: error: stray '\302' in program int main() ^ eliminarenumere.cpp:6:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program gets(s + 1); ^ eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:8:1: error: stray '\302' in program eliminarenumere.cpp:8:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program a = strlen(s + 1); ^ eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:9:1: error: stray '\302' in program eliminarenumere.cpp:9:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program for(i = 1; i <= a; i ++) ^ eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:10:1: error: stray '\302' in program eliminarenumere.cpp:10:1: error: stray '\240' in program eliminarenumere.cpp:11:1: error: stray '\302' in program { ^ eliminarenumere.cpp:11:1: error: stray '\240' in program eliminarenumere.cpp:11:1: error: stray '\302' in program eliminarenumere.cpp:11:1: error: stray '\240' in program eliminarenumere.cpp:11:1: error: stray '\302' in program eliminarenumere.cpp:11:1: error: stray '\240' in program eliminarenumere.cpp:11:1: error: stray '\302' in program eliminarenumere.cpp:11:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program if(s[i] == '.') ^ eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:12:1: error: stray '\302' in program eliminarenumere.cpp:12:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program { ^ eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:13:1: error: stray '\302' in program eliminarenumere.cpp:13:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program for(j = i + 1; j <= a; j ++) ^ eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:14:1: error: stray '\302' in program eliminarenumere.cpp:14:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program if(s[j]!='0' && s[j]!='1' && s[j]!='2' && s[j]!='3' && s[j]!='4' && s[j]!='5' && s[j]!='6' && s[j]!='7' && s[j]!='8' && s[j]!='9') {p=j-1;break;} ^ eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:15:1: error: stray '\302' in program eliminarenumere.cpp:15:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program if(p == 0) p = a; ^ eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:16:1: error: stray '\302' in program eliminarenumere.cpp:16:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program for(j = i - nr; j <= p; j ++) ^ eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:17:1: error: stray '\302' in program eliminarenumere.cpp:17:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program w[j] = true; ^ eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:18:1: error: stray '\302' in program eliminarenumere.cpp:18:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program } ^ eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:19:1: error: stray '\302' in program eliminarenumere.cpp:19:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program if(s[i] <= '9' && s[i] >= '0') nr ++; ^ eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:20:1: error: stray '\302' in program eliminarenumere.cpp:20:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program else nr = 0; ^ eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:21:1: error: stray '\302' in program eliminarenumere.cpp:21:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program p = 0; ^ eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:22:1: error: stray '\302' in program eliminarenumere.cpp:22:1: error: stray '\240' in program eliminarenumere.cpp:23:1: error: stray '\302' in program } ^ eliminarenumere.cpp:23:1: error: stray '\240' in program eliminarenumere.cpp:23:1: error: stray '\302' in program eliminarenumere.cpp:23:1: error: stray '\240' in program eliminarenumere.cpp:23:1: error: stray '\302' in program eliminarenumere.cpp:23:1: error: stray '\240' in program eliminarenumere.cpp:23:1: error: stray '\302' in program eliminarenumere.cpp:23:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program for(i = 1; i <= a; i ++) ^ eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:24:1: error: stray '\302' in program eliminarenumere.cpp:24:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program if(!w[i]) printf("%c", s[i]); ^ eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:25:1: error: stray '\302' in program eliminarenumere.cpp:25:1: error: stray '\240' in program eliminarenumere.cpp:26:1: error: stray '\302' in program return 0; ^ eliminarenumere.cpp:26:1: error: stray '\240' in program eliminarenumere.cpp:26:1: error: stray '\302' in program eliminarenumere.cpp:26:1: error: stray '\240' in program eliminarenumere.cpp:26:1: error: stray '\302' in program eliminarenumere.cpp:26:1: error: stray '\240' in program eliminarenumere.cpp:26:1: error: stray '\302' in program eliminarenumere.cpp:26:1: error: stray '\240' in program eliminarenumere.cpp:26:1: error: stray '\302' in program eliminarenumere.cpp:26:1: error: stray '\240' in program eliminarenumere.cpp: In function 'int main()': eliminarenumere.cpp:8:21: error: 'gets' was not declared in this scope gets(s + 1); ^ eliminarenumere.cpp:9:29: error: 'strlen' was not declared in this scope a = strlen(s + 1); ^ eliminarenumere.cpp:25:46: error: 'printf' was not declared in this scope if(!w[i]) printf("%c", s[i]); ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema EliminareNumere face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
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ă.