Displaying 2 results from an estimated 2 matches for "max_solutions".
2019 Nov 20
2
[Clang] memory allocation
...emory.h>
#include <alloca.h>
/* Checking information */
static int solutions[] = {
1,
0,
0,
2,
10, /* 5 */
4,
40,
92,
352,
724, /* 10 */
2680,
14200,
73712,
365596,
};
#define MAX_SOLUTIONS sizeof(solutions)/sizeof(int)
int total_count;
int sharedVar = 0;
int ok(int n, char *a)
{
int i, j;
char p, q;
printf("jjjjjjjjj: %d, %p\n", n,&j);
for (i = 0; i < n; i++) {
p = a[i];
for (j = i + 1; j < n; j++) {
q = a[j];
if (q...
2019 Nov 26
2
[Clang] memory allocation
...0,
>> 2,
>> 10, /* 5 */
>> 4,
>> 40,
>> 92,
>> 352,
>> 724, /* 10 */
>> 2680,
>> 14200,
>> 73712,
>> 365596,
>> };
>> #define MAX_SOLUTIONS sizeof(solutions)/sizeof(int)
>>
>> int total_count;
>> int sharedVar = 0;
>>
>> int ok(int n, char *a)
>> {
>> int i, j;
>> char p, q;
>> printf("jjjjjjjjj: %d, %p\n", n,&j);
>> for (i = 0; i < n; i++)...