#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 | #50456793 | Utilizator | |
Fișier | pozminmax.cs | Dimensiune | 3.64 KB |
Data încărcării | 10 Aprilie 2024, 11:43 | Scor / rezultat | Eroare de compilare |
Compilation failed: 25 error(s), 0 warnings pozminmax.cs(37,41): error CS1525: Unexpected symbol \`System', expecting \`(' pozminmax.cs(39,0): error CS1525: Unexpected symbol \`namespace', expecting \`(' pozminmax.cs(40,0): error CS1525: Unexpected symbol \`{', expecting \`(' pozminmax.cs(41,4): error CS1525: Unexpected symbol \`class', expecting \`(' pozminmax.cs(42,4): error CS1525: Unexpected symbol \`{', expecting \`(' pozminmax.cs(43,8): error CS1525: Unexpected symbol \`public', expecting \`(' pozminmax.cs(43,23): error CS1525: Unexpected symbol \`(', expecting \`(' pozminmax.cs(52,4): error CS1525: Unexpected symbol \`class' pozminmax.cs(53,4): error CS1525: Unexpected symbol \`{' pozminmax.cs(54,8): error CS1525: Unexpected symbol \`static' pozminmax.cs(54,16): error CS1547: Keyword \`void' cannot be used in this context pozminmax.cs(54,29): error CS1525: Unexpected symbol \`(' pozminmax.cs(54,42): error CS1525: Unexpected symbol \`ref' pozminmax.cs(60,8): error CS1525: Unexpected symbol \`static' pozminmax.cs(60,16): error CS1547: Keyword \`void' cannot be used in this context pozminmax.cs(60,24): error CS1525: Unexpected symbol \`(' pozminmax.cs(63,17): error CS0128: A local variable named \`n' is already defined in this scope pozminmax.cs(63,20): error CS0128: A local variable named \`i' is already defined in this scope pozminmax.cs(63,27): error CS0128: A local variable named \`cnt' is already defined in this scope pozminmax.cs(64,19): error CS0128: A local variable named \`vector' is already defined in this scope pozminmax.cs(67,20): error CS0128: A local variable named \`lini' is already defined in this scope pozminmax.cs(68,22): error CS0128: A local variable named \`s' is already defined in this scope pozminmax.cs(80,1): error CS1525: Unexpected symbol \`using' pozminmax.cs(130,16): error CS1525: Unexpected symbol \`for' pozminmax.cs(131,40): 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ă.