Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created September 21, 2015 20:42
Show Gist options
  • Save AndyNovo/fd3cd84bcd39790d5ff0 to your computer and use it in GitHub Desktop.
Save AndyNovo/fd3cd84bcd39790d5ff0 to your computer and use it in GitHub Desktop.
#include<iostream>
#include<string>
int main(){
unsigned long number_to_hit;
std::cin >> number_to_hit;
unsigned long j = 0;
for(unsigned long i = 0; j < number_to_hit; i++){
j = i * i;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment