#1151
VerifEgaleDivImp
Se dă un vector cu n
elemente numere naturale. Folosind metoda Divide et Impera să se verifice dacă toate elementele vectorului sunt egale.
Problema | VerifEgaleDivImp | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #5067570 | Utilizator | |
Fișier | verifegaledivimp.pas | Dimensiune | 617 B |
Data încărcării | 29 Aprilie 2017, 16:36 | Scor / rezultat | Eroare de compilare |
Free Pascal Compiler version 2.6.2-8 [2014/01/22] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386 Compiling verifegaledivimp.pas verifegaledivimp.pas(15,17) Error: Incompatible types: got "Boolean" expected "LongInt" verifegaledivimp.pas(16,17) Error: Incompatible types: got "Boolean" expected "LongInt" verifegaledivimp.pas(17,16) Error: Boolean expression expected, but got "LongInt" verifegaledivimp.pas(33,4) Fatal: There were 3 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema VerifEgaleDivImp 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ă.