Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 289 Vote(s) - 3.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.Net] Programming exercises

#1
Since I've came across many people who say they know VB.Net here, how about a contest? :p

What you have to do is solve the challenge with an optimized code.

Things to keep in mind.
  • Lesser words
  • No Try Catch ( instead of hiding errors, eliminate them).
  • I'm not being nazi about optimization here, so no microsecond optimization is required. A smaller code is given preference.
  • Code should only be in VB.Net

Winner will get 2 reps, and the license to brag about it for a day. :biggrin:
I will decide when a challenge is over.
You cannot edit your Post, or submit a code again.
The one with the most optimized (and accurate) code will be the winner.



Challenge #1

Output required:


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Hint:
  • There are 10 spaces in between words and numbers.
  • There is no CrLf in the end.
Reply

#2
Just show the output. Commandline or in textbox.
Reply

#3
I love sucha contests but problem is i suck in english i didint undrestand all what you wanted us to make
Reply

#4
nice contest but i don't really get what should we do... program it in command-line? use line breakers without CrLf?
Reply

#5
At least somebody tried. :smile:

There is no End Class here, and the sub Main is never called, but I'll still let this one pass.

I'll wait for at least 1 more entry before announcing the result.
Reply

#6
ok lets give it a try :biggrin:



Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


well im 80% sure its wrong just testing
Reply

#7
ok well, it's been there for enough time now. Time to spoil.
I'd love to announce hotmaster, the only contestent the winner but he was too far from the solution.

Yes, I wanted people to use a simple String Array. :p


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

[/hide]
Reply

#8
oh damn... the only weakness i have besides CodeDom, Arrays >_<

i couldn't even think of it that way... such a easy way... X_X

kk give second one im excited
Reply

#9
Challenge #2

Here is some output (RHS) using an algorithm on alphabets (LHS):
You have to make a function using the algorithm and display the RHS as output.


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#10
time to install studio again I guess O.o
Reply



Forum Jump:


Users browsing this thread:
3 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through