#include <stdio.h>
#include <stdlib.h>

typedef struct Student {
	int rollnum;
	char name[100];
	char city[100];
} Student;

int main(int a, char *b[]) {
	if (a != 2) {
		perror("Usage: a.out <numstuds>");
		exit(1);
	}
	int N = atoi(b[1]);
	//Student *allstudents = (Student *)malloc(N * sizeof(Student));
	Student allstudents[N];

	for (int ii = 0; ii < N; ++ii)
		allstudents[ii].rollnum = ii;

	// free the memory.
	return 0;
}

