#1376
LaturiTriunghi
Se dă n
. Afișați un triunghi cu latura de n
steluțe gol înăuntru.
Problema | LaturiTriunghi | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.01 secunde | Limita memorie |
Total: 10 MB
/
Stivă 2 MB
|
Id soluție | #19166299 | Utilizator | |
Fișier | laturitriunghi.cpp | Dimensiune | 1.06 KB |
Data încărcării | 28 Noiembrie 2019, 23:09 | Scor / rezultat | Eroare de compilare |
laturitriunghi.cpp:1:9: error: #include expects "FILENAME" or <FILENAME> #include <iostream> ^ laturitriunghi.cpp:3:1: error: stray '\302' in program using namespace std; ^ laturitriunghi.cpp:3:1: error: stray '\240' in program laturitriunghi.cpp:3:1: error: stray '\302' in program laturitriunghi.cpp:3:1: error: stray '\240' in program laturitriunghi.cpp:5:1: error: stray '\302' in program int n; ^ laturitriunghi.cpp:5:1: error: stray '\240' in program laturitriunghi.cpp:7:1: error: stray '\302' in program int main() ^ laturitriunghi.cpp:7:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program cin >> n; ^ laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:10:1: error: stray '\302' in program laturitriunghi.cpp:10:1: error: stray '\240' in program laturitriunghi.cpp:11:1: error: stray '\302' in program int k=n-1; ^ laturitriunghi.cpp:11:1: error: stray '\240' in program laturitriunghi.cpp:11:1: error: stray '\302' in program laturitriunghi.cpp:11:1: error: stray '\240' in program laturitriunghi.cpp:11:1: error: stray '\302' in program laturitriunghi.cpp:11:1: error: stray '\240' in program laturitriunghi.cpp:11:1: error: stray '\302' in program laturitriunghi.cpp:11:1: error: stray '\240' in program laturitriunghi.cpp:11:1: error: stray '\302' in program laturitriunghi.cpp:11:1: error: stray '\240' in program laturitriunghi.cpp:12:1: error: stray '\302' in program int p=n; ^ laturitriunghi.cpp:12:1: error: stray '\240' in program laturitriunghi.cpp:12:1: error: stray '\302' in program laturitriunghi.cpp:12:1: error: stray '\240' in program laturitriunghi.cpp:12:1: error: stray '\302' in program laturitriunghi.cpp:12:1: error: stray '\240' in program laturitriunghi.cpp:12:1: error: stray '\302' in program laturitriunghi.cpp:12:1: error: stray '\240' in program laturitriunghi.cpp:12:1: error: stray '\302' in program laturitriunghi.cpp:12:1: error: stray '\240' in program laturitriunghi.cpp:14:1: error: stray '\302' in program for(int i=1;i<=n;i++) ^ laturitriunghi.cpp:14:1: error: stray '\240' in program laturitriunghi.cpp:14:1: error: stray '\302' in program laturitriunghi.cpp:14:1: error: stray '\240' in program laturitriunghi.cpp:14:1: error: stray '\302' in program laturitriunghi.cpp:14:1: error: stray '\240' in program laturitriunghi.cpp:14:1: error: stray '\302' in program laturitriunghi.cpp:14:1: error: stray '\240' in program laturitriunghi.cpp:14:1: error: stray '\302' in program laturitriunghi.cpp:14:1: error: stray '\240' in program laturitriunghi.cpp:15:1: error: stray '\302' in program { ^ laturitriunghi.cpp:15:1: error: stray '\240' in program laturitriunghi.cpp:15:1: error: stray '\302' in program laturitriunghi.cpp:15:1: error: stray '\240' in program laturitriunghi.cpp:15:1: error: stray '\302' in program laturitriunghi.cpp:15:1: error: stray '\240' in program laturitriunghi.cpp:15:1: error: stray '\302' in program laturitriunghi.cpp:15:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program for(int j=1;j<=p;j++) ^ laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:16:1: error: stray '\302' in program laturitriunghi.cpp:16:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program if(i==n) ^ laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:17:1: error: stray '\302' in program laturitriunghi.cpp:17:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program { ^ laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:18:1: error: stray '\302' in program laturitriunghi.cpp:18:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program if(j%2==1) cout << "*"; ^ laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:19:1: error: stray '\302' in program laturitriunghi.cpp:19:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program else cout << " "; ^ laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:20:1: error: stray '\302' in program laturitriunghi.cpp:20:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program } ^ laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:21:1: error: stray '\302' in program laturitriunghi.cpp:21:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program else if(i==1) ^ laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:22:1: error: stray '\302' in program laturitriunghi.cpp:22:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program { ^ laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:23:1: error: stray '\302' in program laturitriunghi.cpp:23:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program if(j<k+1) cout << " "; ^ laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:24:1: error: stray '\302' in program laturitriunghi.cpp:24:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program else cout << "*"; ^ laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:25:1: error: stray '\302' in program laturitriunghi.cpp:25:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program } ^ laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:26:1: error: stray '\302' in program laturitriunghi.cpp:26:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program else ^ laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:27:1: error: stray '\302' in program laturitriunghi.cpp:27:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program { ^ laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:28:1: error: stray '\302' in program laturitriunghi.cpp:28:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program if(j<k+1) cout << " "; ^ laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:29:1: error: stray '\302' in program laturitriunghi.cpp:29:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program if(j==k+1) cout << "*"; ^ laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:30:1: error: stray '\302' in program laturitriunghi.cpp:30:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program if(j>k+1 and j<p) cout << " "; ^ laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:31:1: error: stray '\302' in program laturitriunghi.cpp:31:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program if(j==p) cout << "*"; ^ laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:32:1: error: stray '\302' in program laturitriunghi.cpp:32:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program } ^ laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:33:1: error: stray '\302' in program laturitriunghi.cpp:33:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program k--; ^ laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:34:1: error: stray '\302' in program laturitriunghi.cpp:34:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program p++; ^ laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:35:1: error: stray '\302' in program laturitriunghi.cpp:35:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program cout << endl; ^ laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:36:1: error: stray '\302' in program laturitriunghi.cpp:36:1: error: stray '\240' in program laturitriunghi.cpp:37:1: error: stray '\302' in program } ^ laturitriunghi.cpp:37:1: error: stray '\240' in program laturitriunghi.cpp:37:1: error: stray '\302' in program laturitriunghi.cpp:37:1: error: stray '\240' in program laturitriunghi.cpp:37:1: error: stray '\302' in program laturitriunghi.cpp:37:1: error: stray '\240' in program laturitriunghi.cpp:37:1: error: stray '\302' in program laturitriunghi.cpp:37:1: error: stray '\240' in program laturitriunghi.cpp:39:1: error: stray '\302' in program return 0; ^ laturitriunghi.cpp:39:1: error: stray '\240' in program laturitriunghi.cpp:39:1: error: stray '\302' in program laturitriunghi.cpp:39:1: error: stray '\240' in program laturitriunghi.cpp:39:1: error: stray '\302' in program laturitriunghi.cpp:39:1: error: stray '\240' in program laturitriunghi.cpp:39:1: error: stray '\302' in program laturitriunghi.cpp:39:1: error: stray '\240' in program laturitriunghi.cpp:39:1: error: stray '\302' in program laturitriunghi.cpp:39:1: error: stray '\240' in program laturitriunghi.cpp: In function 'int main()': laturitriunghi.cpp:10:9: error: 'cin' was not declared in this scope cin >> n; ^ laturitriunghi.cpp:19:45: error: 'cout' was not declared in this scope if(j%2==1) cout << "*"; ^ laturitriunghi.cpp:20:39: error: 'cout' was not declared in this scope else cout << " "; ^ laturitriunghi.cpp:24:44: error: 'cout' was not declared in this scope if(j<k+1) cout << " "; ^ laturitriunghi.cpp:25:39: error: 'cout' was not declared in this scope else cout << "*"; ^ laturitriunghi.cpp:29:44: error: 'cout' was not declared in this scope if(j<k+1) cout << " "; ^ laturitriunghi.cpp:30:45: error: 'cout' was not declared in this scope if(j==k+1) cout << "*"; ^ laturitriunghi.cpp:31:54: error: 'cout' was not declared in this scope if(j>k+1 and j<p) cout << " "; ^ laturitriunghi.cpp:32:43: error: 'cout' was not declared in this scope if(j==p) cout << "*"; ^ laturitriunghi.cpp:36:17: error: 'cout' was not declared in this scope cout << endl; ^ laturitriunghi.cpp:36:27: error: 'endl' was not declared in this scope cout << endl; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema LaturiTriunghi 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ă.