};
int main(int argc, char **argv) {
- struct Node * head =0;//(struct Node *) malloc(sizeof (struct Node));
- // head->next=0;
- //head->prev=0;
-
-#include "ex.cc"
+ struct Node * head =(struct Node *) malloc(sizeof (struct Node));
+ for(int i=0;i<300;i++) {
+ struct Node * tmp =(struct Node *) malloc(sizeof (struct Node));
+ tmp->next=head;
+ head->prev=tmp;
+ head=tmp;
+ }
+ for(int j=0;j<6000;j++) {
+#include "ex.cc"
+ }
}