Problema | TriunghiDublu | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #33795819 | Utilizator | |
Fișier | triunghidublu.cpp | Dimensiune | 721 B |
Data încărcării | 09 Ianuarie 2022, 19:08 | Scor / rezultat | Eroare de compilare |
triunghidublu.cpp:1:1: error: 'include' does not name a type include <bits/stdc++.h> ^ triunghidublu.cpp: In function 'int main()': triunghidublu.cpp:6:5: error: 'cin' was not declared in this scope cin >> n; ^ triunghidublu.cpp:9:38: error: 'cout' was not declared in this scope for (int j = 1; j <= i; j++) cout << '*'; ^ triunghidublu.cpp:10:44: error: 'cout' was not declared in this scope for (int k = 1; k <= n*3-i*2; k++) cout << ' '; ^ triunghidublu.cpp:11:38: error: 'cout' was not declared in this scope for (int f = 1; f <= i; f++) cout << '*'; ^ triunghidublu.cpp:12:9: error: 'cout' was not declared in this scope cout << endl; ^ triunghidublu.cpp:12:17: error: 'endl' was not declared in this scope cout << endl; ^ triunghidublu.cpp:16:38: error: 'cout' was not declared in this scope for (int j = 1; j <= n; j++) cout << ' '; ^ triunghidublu.cpp:17:38: error: 'cout' was not declared in this scope for (int k = 1; k <= n; k++) cout << '*'; ^ triunghidublu.cpp:18:9: error: 'cout' was not declared in this scope cout << endl; ^ triunghidublu.cpp:18:17: error: 'endl' was not declared in this scope cout << endl; ^ triunghidublu.cpp:22:38: error: 'cout' was not declared in this scope for (int j = 1; j <= i; j++) cout << '*'; ^ triunghidublu.cpp:23:44: error: 'cout' was not declared in this scope for (int k = 1; k <= n*3-i*2; k++) cout << ' '; ^ triunghidublu.cpp:24:38: error: 'cout' was not declared in this scope for (int f = 1; f <= i; f++) cout << '*'; ^ triunghidublu.cpp:25:9: error: 'cout' was not declared in this scope cout << endl; ^ triunghidublu.cpp:25:17: error: 'endl' was not declared in this scope cout << endl; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema TriunghiDublu 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ă.