24 lines
No EOL
311 B
C++
24 lines
No EOL
311 B
C++
#include "vec.cpp"
|
|
#include "list.cpp"
|
|
#include <time.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
int main()
|
|
{
|
|
srand(time(NULL));
|
|
Vec v(54,2);
|
|
v.printall();
|
|
|
|
List l;
|
|
|
|
printf("¿ªÊ¼½¨Á¢Á´±í\n");
|
|
|
|
for(int i=0;i<=53;i++)
|
|
{
|
|
l.firstInsert(v.get(i));
|
|
printf("%d\n",l[0]);
|
|
}
|
|
|
|
return 0;
|
|
} |