Skip to content

Instantly share code, notes, and snippets.

@chamons
Created April 18, 2015 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chamons/c727e9a05e03411c722f to your computer and use it in GitHub Desktop.
Save chamons/c727e9a05e03411c722f to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main ()
{
int t = 0;
for (int i = 0 ; i <= 10000 ; ++i)
t +=i;
printf ("%d\n", t);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment