#2683
easy_ssc
Se dă un șir de n
numere naturale. Să se determine numărul minim de subșiruri strict crescătoare în care se poate partiționa șirul.
Problema | easy_ssc | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #27351451 | Utilizator | |
Fișier | easy_ssc.cpp | Dimensiune | 736 B |
Data încărcării | 19 Ianuarie 2021, 11:47 | Scor / rezultat | Eroare de compilare |
easy_ssc.cpp:21:2: error: stray '#' in program }#include <bits/stdc++.h> ^ easy_ssc.cpp:21:3: error: 'include' does not name a type }#include <bits/stdc++.h> ^ easy_ssc.cpp:23:5: error: redefinition of 'int n' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:5: error: 'int n' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:7: error: redefinition of 'int x' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:7: error: 'int x' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:15: error: redefinition of 'int a [1001]' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:9: error: 'int a [1001]' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:17: error: redefinition of 'int c' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:17: error: 'int c' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:19: error: redefinition of 'int ok' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:19: error: 'int ok' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:22: error: redefinition of 'int i' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:22: error: 'int i' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:23:24: error: redefinition of 'int j' int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp:3:24: error: 'int j' previously declared here int n,x,a[1001],c,ok,i,j; ^ easy_ssc.cpp: In function 'int main()': easy_ssc.cpp:24:5: error: redefinition of 'int main()' int main() ^ easy_ssc.cpp:4:5: error: 'int main()' previously defined here int main() ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema easy_ssc 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ă.