#994
FiboVerif1
Se dă un şir cu n
elemente, numere naturale. Să se afişeze elementele şirului care sunt termeni ai şirului lui Fibonacci.
Problema | FiboVerif1 | Operații I/O |
fiboverif1.in /fiboverif1.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #13800059 | Utilizator | |
Fișier | fiboverif1.cpp | Dimensiune | 815 B |
Data încărcării | 10 Februarie 2019, 14:47 | Scor / rezultat | Eroare de compilare |
fiboverif1.cpp:1:9: error: #include expects "FILENAME" or <FILENAME> #include <fstream> ^ fiboverif1.cpp:2:1: error: stray '\302' in program using namespace std; ^ fiboverif1.cpp:2:1: error: stray '\240' in program fiboverif1.cpp:2:1: error: stray '\302' in program fiboverif1.cpp:2:1: error: stray '\240' in program fiboverif1.cpp:3:1: error: stray '\302' in program int n, i, x, k; ^ fiboverif1.cpp:3:1: error: stray '\240' in program fiboverif1.cpp:3:1: error: stray '\302' in program fiboverif1.cpp:3:1: error: stray '\240' in program fiboverif1.cpp:3:1: error: stray '\302' in program fiboverif1.cpp:3:1: error: stray '\240' in program fiboverif1.cpp:3:1: error: stray '\302' in program fiboverif1.cpp:3:1: error: stray '\240' in program fiboverif1.cpp:4:1: error: stray '\302' in program int fibo (int nr) ^ fiboverif1.cpp:4:1: error: stray '\240' in program fiboverif1.cpp:4:1: error: stray '\302' in program fiboverif1.cpp:4:1: error: stray '\240' in program fiboverif1.cpp:4:1: error: stray '\302' in program fiboverif1.cpp:4:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program int a, b, c, r; ^ fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:6:1: error: stray '\302' in program fiboverif1.cpp:6:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program bool ok = false; ^ fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:7:1: error: stray '\302' in program fiboverif1.cpp:7:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program a = 1; ^ fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:8:1: error: stray '\302' in program fiboverif1.cpp:8:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program b = 1; ^ fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:9:1: error: stray '\302' in program fiboverif1.cpp:9:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program c = a + b; ^ fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:10:1: error: stray '\302' in program fiboverif1.cpp:10:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program while(c < nr) ^ fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:11:1: error: stray '\302' in program fiboverif1.cpp:11:1: error: stray '\240' in program fiboverif1.cpp:12:1: error: stray '\302' in program { ^ fiboverif1.cpp:12:1: error: stray '\240' in program fiboverif1.cpp:12:1: error: stray '\302' in program fiboverif1.cpp:12:1: error: stray '\240' in program fiboverif1.cpp:12:1: error: stray '\302' in program fiboverif1.cpp:12:1: error: stray '\240' in program fiboverif1.cpp:12:1: error: stray '\302' in program fiboverif1.cpp:12:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program a = b; ^ fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:13:1: error: stray '\302' in program fiboverif1.cpp:13:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program b = c; ^ fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:14:1: error: stray '\302' in program fiboverif1.cpp:14:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program c = a + b; ^ fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:15:1: error: stray '\302' in program fiboverif1.cpp:15:1: error: stray '\240' in program fiboverif1.cpp:16:1: error: stray '\302' in program } ^ fiboverif1.cpp:16:1: error: stray '\240' in program fiboverif1.cpp:16:1: error: stray '\302' in program fiboverif1.cpp:16:1: error: stray '\240' in program fiboverif1.cpp:16:1: error: stray '\302' in program fiboverif1.cpp:16:1: error: stray '\240' in program fiboverif1.cpp:16:1: error: stray '\302' in program fiboverif1.cpp:16:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program if(c == nr) ok = true; ^ fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:17:1: error: stray '\302' in program fiboverif1.cpp:17:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program else if(nr == 1) ok = true; ^ fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:18:1: error: stray '\302' in program fiboverif1.cpp:18:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program if(ok) r = 1; ^ fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:19:1: error: stray '\302' in program fiboverif1.cpp:19:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program else r= 0; ^ fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:20:1: error: stray '\302' in program fiboverif1.cpp:20:1: error: stray '\240' in program fiboverif1.cpp:21:1: error: stray '\302' in program return r; ^ fiboverif1.cpp:21:1: error: stray '\240' in program fiboverif1.cpp:21:1: error: stray '\302' in program fiboverif1.cpp:21:1: error: stray '\240' in program fiboverif1.cpp:21:1: error: stray '\302' in program fiboverif1.cpp:21:1: error: stray '\240' in program fiboverif1.cpp:21:1: error: stray '\302' in program fiboverif1.cpp:21:1: error: stray '\240' in program fiboverif1.cpp:21:1: error: stray '\302' in program fiboverif1.cpp:21:1: error: stray '\240' in program fiboverif1.cpp:23:1: error: stray '\302' in program int main() ^ fiboverif1.cpp:23:1: error: stray '\240' in program fiboverif1.cpp:25:1: error: stray '\302' in program ifstream f("fiboverif1.in"); ^ fiboverif1.cpp:25:1: error: stray '\240' in program fiboverif1.cpp:25:1: error: stray '\302' in program fiboverif1.cpp:25:1: error: stray '\240' in program fiboverif1.cpp:25:1: error: stray '\302' in program fiboverif1.cpp:25:1: error: stray '\240' in program fiboverif1.cpp:25:1: error: stray '\302' in program fiboverif1.cpp:25:1: error: stray '\240' in program fiboverif1.cpp:25:1: error: stray '\302' in program fiboverif1.cpp:25:1: error: stray '\240' in program fiboverif1.cpp:26:1: error: stray '\302' in program ofstream g("fiboverif1.out"); ^ fiboverif1.cpp:26:1: error: stray '\240' in program fiboverif1.cpp:26:1: error: stray '\302' in program fiboverif1.cpp:26:1: error: stray '\240' in program fiboverif1.cpp:26:1: error: stray '\302' in program fiboverif1.cpp:26:1: error: stray '\240' in program fiboverif1.cpp:26:1: error: stray '\302' in program fiboverif1.cpp:26:1: error: stray '\240' in program fiboverif1.cpp:26:1: error: stray '\302' in program fiboverif1.cpp:26:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program f >> n; ^ fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:27:1: error: stray '\302' in program fiboverif1.cpp:27:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program for(i = 1; i <= n; i ++) ^ fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:28:1: error: stray '\302' in program fiboverif1.cpp:28:1: error: stray '\240' in program fiboverif1.cpp:29:1: error: stray '\302' in program { ^ fiboverif1.cpp:29:1: error: stray '\240' in program fiboverif1.cpp:29:1: error: stray '\302' in program fiboverif1.cpp:29:1: error: stray '\240' in program fiboverif1.cpp:29:1: error: stray '\302' in program fiboverif1.cpp:29:1: error: stray '\240' in program fiboverif1.cpp:29:1: error: stray '\302' in program fiboverif1.cpp:29:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program f >> x; ^ fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:30:1: error: stray '\302' in program fiboverif1.cpp:30:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program k = fibo(x); ^ fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:31:1: error: stray '\302' in program fiboverif1.cpp:31:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program if(k == 1) g << x << " "; ^ fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:32:1: error: stray '\302' in program fiboverif1.cpp:32:1: error: stray '\240' in program fiboverif1.cpp:33:1: error: stray '\302' in program } ^ fiboverif1.cpp:33:1: error: stray '\240' in program fiboverif1.cpp:33:1: error: stray '\302' in program fiboverif1.cpp:33:1: error: stray '\240' in program fiboverif1.cpp:33:1: error: stray '\302' in program fiboverif1.cpp:33:1: error: stray '\240' in program fiboverif1.cpp:33:1: error: stray '\302' in program fiboverif1.cpp:33:1: error: stray '\240' in program fiboverif1.cpp:35:1: error: stray '\302' in program return 0; ^ fiboverif1.cpp:35:1: error: stray '\240' in program fiboverif1.cpp:35:1: error: stray '\302' in program fiboverif1.cpp:35:1: error: stray '\240' in program fiboverif1.cpp:35:1: error: stray '\302' in program fiboverif1.cpp:35:1: error: stray '\240' in program fiboverif1.cpp:35:1: error: stray '\302' in program fiboverif1.cpp:35:1: error: stray '\240' in program fiboverif1.cpp:35:1: error: stray '\302' in program fiboverif1.cpp:35:1: error: stray '\240' in program fiboverif1.cpp: In function 'int main()': fiboverif1.cpp:25:9: error: 'ifstream' was not declared in this scope ifstream f("fiboverif1.in"); ^ fiboverif1.cpp:25:19: error: expected ';' before 'f' ifstream f("fiboverif1.in"); ^ fiboverif1.cpp:26:9: error: 'ofstream' was not declared in this scope ofstream g("fiboverif1.out"); ^ fiboverif1.cpp:26:19: error: expected ';' before 'g' ofstream g("fiboverif1.out"); ^ fiboverif1.cpp:27:9: error: 'f' was not declared in this scope f >> n; ^ fiboverif1.cpp:32:31: error: 'g' was not declared in this scope if(k == 1) g << x << " "; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema FiboVerif1 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ă.