Skip to content

Instantly share code, notes, and snippets.

@ryuichimatsumoto-single
Created February 11, 2016 15:05
Show Gist options
  • Select an option

  • Save ryuichimatsumoto-single/97b1fd37f0cd965e9a57 to your computer and use it in GitHub Desktop.

Select an option

Save ryuichimatsumoto-single/97b1fd37f0cd965e9a57 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main()
{
int i=1;
int count = 0;
for(i=1;i<2017;i++)
{
if(i%20 < i%16)
{
count++;
}
}
printf("%d\n",count);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment