Skip to content

Instantly share code, notes, and snippets.

@ivanjr0
Created October 29, 2017 01:03
Show Gist options
  • Save ivanjr0/25a4887d0c2a839a0cd27acc84a19bd8 to your computer and use it in GitHub Desktop.
Save ivanjr0/25a4887d0c2a839a0cd27acc84a19bd8 to your computer and use it in GitHub Desktop.
{
int i; int j; float v; float x; float[100] a;
while( true ) {
do i = i+1; while( a[i] < v);
do j = j-1; while( a[j] > v);
if( i >= j ) break;
x = a[i]; a[i] = a[j]; a[j] = x;
}
}
{
while {
int i;
}
}
{
int i; char j;
i = 1;
j = 2;
if (i == j) {
i = 3;
}
}
{
char j;
j = 2;
if (i == j) {
i = 3;
}
}
{
int i;
char j;
j = 2;
if (j) {
i = 3;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment