#2281
Sageata
Pentru un număr n
, o săgeată este formată din n
steluțe (*
) pe fiecare linie și 2*n - 1
linii.
Admiterea la clasa de Excelență din Bistrița, 2017
Problema | Sageata | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #11398327 | Utilizator | |
Fișier | sageata.cpp | Dimensiune | 554 B |
Data încărcării | 27 Octombrie 2018, 16:19 | Scor / rezultat | Eroare de compilare |
sageata.cpp:5:1: error: stray '\302' in program int n, s=0; ^ sageata.cpp:5:1: error: stray '\240' in program sageata.cpp:5:1: error: stray '\302' in program sageata.cpp:5:1: error: stray '\240' in program sageata.cpp:5:1: error: stray '\302' in program sageata.cpp:5:1: error: stray '\240' in program sageata.cpp:6:1: error: stray '\302' in program cin>>n; ^ sageata.cpp:6:1: error: stray '\240' in program sageata.cpp:6:1: error: stray '\302' in program sageata.cpp:6:1: error: stray '\240' in program sageata.cpp:6:1: error: stray '\302' in program sageata.cpp:6:1: error: stray '\240' in program sageata.cpp:7:1: error: stray '\302' in program for(int i=1;i<=n;i++){ ^ sageata.cpp:7:1: error: stray '\240' in program sageata.cpp:7:1: error: stray '\302' in program sageata.cpp:7:1: error: stray '\240' in program sageata.cpp:7:1: error: stray '\302' in program sageata.cpp:7:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program for(int k=1;k<=s;k++) cout<<' '; ^ sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:8:1: error: stray '\302' in program sageata.cpp:8:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program for(int j=1;j<=n;j++) cout<<'*'; ^ sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:9:1: error: stray '\302' in program sageata.cpp:9:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program s+=1; cout<<endl; ^ sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:10:1: error: stray '\302' in program sageata.cpp:10:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program } ^ sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:11:1: error: stray '\302' in program sageata.cpp:11:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program s-=2; ^ sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:12:1: error: stray '\302' in program sageata.cpp:12:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program for(int a=1;a<=n-1;a++){ ^ sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:13:1: error: stray '\302' in program sageata.cpp:13:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program for(int b=1;b<=s;b++) cout<<' '; ^ sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:14:1: error: stray '\302' in program sageata.cpp:14:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program for(int x=1;x<=n;x++) cout<<'*'; ^ sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:15:1: error: stray '\302' in program sageata.cpp:15:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program s--; cout<<endl; ^ sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:16:1: error: stray '\302' in program sageata.cpp:16:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program } ^ sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:17:1: error: stray '\302' in program sageata.cpp:17:1: error: stray '\240' in program sageata.cpp:18:1: error: stray '\302' in program return 0; ^ sageata.cpp:18:1: error: stray '\240' in program sageata.cpp:18:1: error: stray '\302' in program sageata.cpp:18:1: error: stray '\240' in program sageata.cpp:18:1: error: stray '\302' in program sageata.cpp:18:1: error: stray '\240' in program
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Sageata 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ă.