Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ventmatika testas
using System; using System.Collections.Generic; using System.Linq; namespace Rextester { //Duotas sveikųjų skaičių masyvas n-1 ilgio. Skaičiai masyve išdėstyti nuo 1 iki n. //Masyve nėra pasikartojančių skaičių. Vieno iš skaičių masyve nėra. //Parašyti efektyvų būdą surasti dingusį skaičių masyve. //Pavyzdys //Input [1, 2, 4, 6, 3, 7, 8] //Output 5 public class MissingNumber { public void Implementation() { //Your code goes here Console.WriteLine("Hello, world!"); } public int GetMissingNumber(int[] arrayOfIntegers) { throw new NotImplementedException(); } } public class Program { public static void Main(string[] args) { MissingNumber missingNumber = new MissingNumber(); missingNumber.Implementation(); Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Sum Matrix Main Diagonal
Anq Calc
Palindrome String
test
DaysOfYear
Plt-D v.0.9.1
Found many section of times intersect (can edit)
codetility CyclicRotation
hello
Intuit // C# // Lecture_4 // Laba_#1