diff --git a/ASD_Task_2.layout b/ASD_Task_2.layout
index e69ac9c..1383d5b 100644
--- a/ASD_Task_2.layout
+++ b/ASD_Task_2.layout
@@ -4,27 +4,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/list.cpp b/list.cpp
index f61d73d..2d98e44 100644
--- a/list.cpp
+++ b/list.cpp
@@ -5,9 +5,7 @@ void createList(List &L) {
* FS : set first(L) with Null
*/
//-------------your code here-------------
- cout<<"your code here"< info(Prec)){
+ Prec=next(Prec);
+ }
+ if (x!=info(Prec)){
+ if(x>info(Prec)){
+ insertLast(L, P);
+ } else if(x