extern void abort(void); #include void reach_error() { assert(0); } void __VERIFIER_assert(int cond) { if(!(cond)) { ERROR: {reach_error();abort();} } } extern int __VERIFIER_nondet_int(); #define N 100000 int main( ) { int a[N]; int i; int r = 1; for (i = 0; i < N; i++) { a[i] = __VERIFIER_nondet_int(); } for ( i = 1 ; i < N && r ; i++ ) { int j; for ( j = i-1 ; j >= 0 && r ; j-- ) { if ( a[i] == a[j] ) { r = 1; } } } if ( r ) { int x; int y; for ( x = 0 ; x < N ; x++ ) { for ( y = x+1 ; y < N ; y++ ) { __VERIFIER_assert( a[x] != a[y] ); } } } return 0; }