127
avivSa
8y

Back in the days when I started to learn c I had an assignment to print all the prime numbers between 1 to 100 but didn't know how (with if/for/while)

So I searched Google for "prime numbers from 1 to 100" and used printf to print them on the screen

I got an A+

Comments
  • 4
    They didn't check the code?
  • 26
    That's O(1) complexity good job
  • 8
    This is what I imagine code looks like, when you outsource to Russia.
  • 1
    This is actually a good practice when you KNOW you will need the first 100 billions of times a second.
  • 1
    Actually Russian programmers are among the best... Most do colage in computer science without having a computer, writing code in paper.
  • 1
    Of course it isn't... @Kunterbunth... It's just like saying Indians have the highest education cause they aply themselves so hard... Probabilities... Thers always the opposite truth
  • 1
    Well your classmate is here, ranting about how you're teacher just gave you an A+
Add Comment