#553
PozMinMax
Să se determine indicele maximului şi cel al minimului valorilor elementelor unui vector.
Problema | PozMinMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #50442207 | Utilizator | |
Fișier | pozminmax.cs | Dimensiune | 402 B |
Data încărcării | 09 Aprilie 2024, 19:40 | Scor / rezultat | Eroare de compilare |
Compilation failed: 6 error(s), 3 warnings pozminmax.cs(2,0): error CS1024: Wrong preprocessor directive pozminmax.cs(2,6): error CS1041: Identifier expected, \`namespace' is a keyword pozminmax.cs(2,19): error CS1001: Unexpected symbol \`;', expecting identifier pozminmax.cs(5,4): error CS1041: Identifier expected, \`int' is a keyword pozminmax.cs(5,14): error CS1514: Unexpected symbol \`[', expecting \`.' or \`{' pozminmax.cs(5,15): warning CS0658: \`value' is invalid attribute target. All attributes in this attribute section will be ignored pozminmax.cs(6,16): warning CS0658: \`value' is invalid attribute target. All attributes in this attribute section will be ignored pozminmax.cs(7,19): warning CS0658: \`value' is invalid attribute target. All attributes in this attribute section will be ignored pozminmax.cs(11,19): error CS1525: Unexpected symbol \`;'
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema PozMinMax 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ă.