当前位置: 代码迷 >> 综合 >> C++面向对象基础--动态内存(new的用法)
  详细解决方案

C++面向对象基础--动态内存(new的用法)

热度:1   发布时间:2024-01-30 13:41:34.0

C++ 程序中的内存分为两个部分:

栈:在函数内部声明的所有变量都将占用栈内存。

堆:这是程序中未使用的内存,在程序运行时可用于动态分配内存。

在 C++ 中,我们可以使用new运算符为给定类型的变量在运行时分配堆内的内存,这会返回所分配的空间地址。如果不再需要动态分配的内存空间,可以使用 delete 运算符,删除之前由 new 运算符分配的内存。

1.new和delete的常规简要用法

new 运算符来为任意的数据类型动态分配内存的通用语法:

1 new data-type;
其中,data-type可以是包括数组在内的任意内置的数据类型,也可以是包括类或结构在内的用户自定义的任何数据类型。例如我们可以定义一个指向int类型数据的指针p,然后请求内存,该内存在执行时被分配。

1 int* p = NULL; // 初始化为null的指针
2 p = new int; // 为变量请求内存
如果自由存储区已被用完,可能无法成功分配内存。所以建议检查 new 运算符是否返回 NULL 指针,并采取以下适当的操作:

复制代码
1 int* p = NULL;
2 if (!(p = new int))
3 {
4 cout << “Error: out of memory.” << endl;
5 exit(1);
6
7 }
8 p = new int;
复制代码
如果某个已经动态分配内存的变量不再需要使用时,我们可以使用 delete 操作符释放它所占用的内存,如下所示:

1 delete p; // 释放p所指向的内存
new和delete完整用法示例:

复制代码
1 #include
2 using namespace std;
3
4 int main()
5 {
6 int* p = NULL; // 初始化为 null 的指针
7 p = new int; // 为变量请求内存
8 *p= 12345; // 在分配的地址存储值
9 cout << "Value of p : " << *p << endl;
10 delete p; // 释放内存
11 return 0;
12 }
复制代码
运行结果:

1 Value of p : 12345
2.数组的动态内存分配
(1)一维数组:

1 // 动态分配,数组长度为 n
2 int *array=new int [n];
3
4 //释放内存
5 delete [] array;
(2)二维数组:

复制代码
1 int **array
2 // 假定数组第一维长度为 m, 第二维长度为 n
3 // 动态分配空间
4 array = new int *[m];
5 for( int i=0; i<m; i++ )
6 {
7 array[i] = new int [n] ;
8 }
9 //释放
10 for( int i=0; i<m; i++ )
11 {
12 delete [] arrary[i];
13 }
14 delete [] array;
复制代码
二维数组实例测试:

复制代码
1 #include
2 using namespace std;
3
4 int main()
5 {
6 int** p;
7 int i, j; //p[4][8]
8 //开始分配4行8列的二维数据
9 p = new int* [4];
10 for (i = 0; i < 4; i++)
11 {
12 p[i] = new int[8];
13 }
14
15 for (i = 0; i < 4; i++)
16 {
17 for (j = 0; j < 8; j++)
18 {
19 p[i][j] = j * i;
20 }
21 }
22 //打印数据
23 for (i = 0; i < 4; i++)
24 {
25 for (j = 0; j < 8; j++)
26 {
27 if (j == 0)
28 {
29 cout << endl;
30 }
31 cout << p[i][j] << “\t”;
32 }
33 }
34 //开始释放申请的堆
35 for (i = 0; i < 4; i++)
36 {
37 delete[] p[i];
38 }
39 delete[] p;
40 return 0;
41 }
复制代码
代码运行结果:

(3)三维数组:

复制代码
1 int*** array;
2 // 假定数组第一维为 m, 第二维为 n, 第三维为h
3 // 动态分配空间
4 array = new int** [m];
5 for (int i = 0; i < m; i++)
6 {
7 array[i] = new int* [n];
8 for (int j = 0; j < n; j++)
9 {
10 array[i][j] = new int[h];
11 }
12 }
13 //释放
14 for (int i = 0; i < m; i++)
15 {
16 for (int j = 0; j < n; j++)
17 {
18 delete[] array[i][j];
19 }
20 delete[] array[i];
21 }
22 delete[] array;
复制代码
三维数组测试实例:

复制代码
1 #include
2 using namespace std;
3
4 int main()
5 {
6 int i, j, k; // p[2][3][4]
7
8 int*** p;
9 p = new int** [2];
10 for (i = 0; i < 2; i++)
11 {
12 p[i] = new int* [3];
13 for (j = 0; j < 3; j++)
14 {
15 p[i][j] = new int[4];
16 }
17 }
18
19 //输出 p[i][j][k] 三维数据
20 for (i = 0; i < 2; i++)
21 {
22 for (j = 0; j < 3; j++)
23 {
24 for (k = 0; k < 4; k++)
25 {
26 p[i][j][k] = i + j + k;
27 cout << p[i][j][k] << " ";
28 }
29 cout << endl;
30 }
31 cout << endl;
32 }
33
34 // 释放内存
35 for (i = 0; i < 2; i++)
36 {
37 for (j = 0; j < 3; j++)
38 {
39 delete[] p[i][j];
40 }
41 }
42 for (i = 0; i < 2; i++)
43 {
44 delete[] p[i];
45 }
46 delete[] p;
47 return 0;
48 }
复制代码
代码运行结果:

3.对象的动态内存分配

示例代码:

复制代码
1 #include
2 using namespace std;
3
4 class test
5 {
6 public:
7 test() {
8 cout << “调用构造函数!” << endl;
9 }
10 ~test() {
11 cout << “调用析构函数!” << endl;
12 }
13 };
14
15 int main()
16 {
17 test* testArray = new test[4];
18 delete[] testArray; // 删除数组
19 return 0;
20 }
复制代码
代码运行结果:

如果要为一个包含四个test对象的数组分配内存,构造函数将被调用 4 次,同样地,当删除这些对象时,析构函数也将被调用相同的次数(4次)。
https://www.imdb.com/list/ls085627113/
https://www.imdb.com/list/ls085627113/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627113/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627113/ref_=rls_4
https://www.imdb.com/list/ls085627113/?ref_=otl_x
https://www.imdb.com/list/ls085627113/?mode=desktop
https://www.imdb.com/list/ls085627113/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627113/?ref_=lom_jq
https://www.imdb.com/list/ls085627113/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627113/?pgykn
https://www.imdb.com/list/ls085627113/?pgykn=pgykn
https://www.imdb.com/list/ls085627113/?pgykn_=pgykn
https://www.imdb.com/list/ls085627113/??pgykn@pgykn
https://m.imdb.com/list/ls085627113/
https://m.imdb.com/list/ls085627113/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627113/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627113/ref_=rls_4
https://m.imdb.com/list/ls085627113/?ref_=otl_x
https://m.imdb.com/list/ls085627113/?mode=desktop
https://m.imdb.com/list/ls085627113/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627113/?ref_=lom_jq
https://m.imdb.com/list/ls085627113/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627113/?pgykn
https://m.imdb.com/list/ls085627113/?pgykn=pgykn
https://m.imdb.com/list/ls085627113/?pgykn_=pgykn
https://m.imdb.com/list/ls085627113/??pgykn@pgykn
https://www.imdb.com/list/ls085627140/
https://www.imdb.com/list/ls085627140/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627140/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627140/ref_=rls_4
https://www.imdb.com/list/ls085627140/?ref_=otl_x
https://www.imdb.com/list/ls085627140/?mode=desktop
https://www.imdb.com/list/ls085627140/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627140/?ref_=lom_jq
https://www.imdb.com/list/ls085627140/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627140/?edpmi
https://www.imdb.com/list/ls085627140/?edpmi=edpmi
https://www.imdb.com/list/ls085627140/?edpmi_=edpmi
https://www.imdb.com/list/ls085627140/??edpmi@edpmi
https://m.imdb.com/list/ls085627140/
https://m.imdb.com/list/ls085627140/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627140/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627140/ref_=rls_4
https://m.imdb.com/list/ls085627140/?ref_=otl_x
https://m.imdb.com/list/ls085627140/?mode=desktop
https://m.imdb.com/list/ls085627140/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627140/?ref_=lom_jq
https://m.imdb.com/list/ls085627140/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627140/?edpmi
https://m.imdb.com/list/ls085627140/?edpmi=edpmi
https://m.imdb.com/list/ls085627140/?edpmi_=edpmi
https://m.imdb.com/list/ls085627140/??edpmi@edpmi
https://www.imdb.com/list/ls085627355/
https://www.imdb.com/list/ls085627355/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627355/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627355/ref_=rls_4
https://www.imdb.com/list/ls085627355/?ref_=otl_x
https://www.imdb.com/list/ls085627355/?mode=desktop
https://www.imdb.com/list/ls085627355/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627355/?ref_=lom_jq
https://www.imdb.com/list/ls085627355/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627355/?sscxt
https://www.imdb.com/list/ls085627355/?sscxt=sscxt
https://www.imdb.com/list/ls085627355/?sscxt_=sscxt
https://www.imdb.com/list/ls085627355/??sscxt@sscxt
https://m.imdb.com/list/ls085627355/
https://m.imdb.com/list/ls085627355/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627355/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627355/ref_=rls_4
https://m.imdb.com/list/ls085627355/?ref_=otl_x
https://m.imdb.com/list/ls085627355/?mode=desktop
https://m.imdb.com/list/ls085627355/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627355/?ref_=lom_jq
https://m.imdb.com/list/ls085627355/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627355/?sscxt
https://m.imdb.com/list/ls085627355/?sscxt=sscxt
https://m.imdb.com/list/ls085627355/?sscxt_=sscxt
https://m.imdb.com/list/ls085627355/??sscxt@sscxt
https://www.imdb.com/list/ls085627366/
https://www.imdb.com/list/ls085627366/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627366/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627366/ref_=rls_4
https://www.imdb.com/list/ls085627366/?ref_=otl_x
https://www.imdb.com/list/ls085627366/?mode=desktop
https://www.imdb.com/list/ls085627366/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627366/?ref_=lom_jq
https://www.imdb.com/list/ls085627366/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627366/?mnmbo
https://www.imdb.com/list/ls085627366/?mnmbo=mnmbo
https://www.imdb.com/list/ls085627366/?mnmbo_=mnmbo
https://www.imdb.com/list/ls085627366/??mnmbo@mnmbo
https://m.imdb.com/list/ls085627366/
https://m.imdb.com/list/ls085627366/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627366/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627366/ref_=rls_4
https://m.imdb.com/list/ls085627366/?ref_=otl_x
https://m.imdb.com/list/ls085627366/?mode=desktop
https://m.imdb.com/list/ls085627366/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627366/?ref_=lom_jq
https://m.imdb.com/list/ls085627366/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627366/?mnmbo
https://m.imdb.com/list/ls085627366/?mnmbo=mnmbo
https://m.imdb.com/list/ls085627366/?mnmbo_=mnmbo
https://m.imdb.com/list/ls085627366/??mnmbo@mnmbo
https://www.imdb.com/list/ls085627608/
https://www.imdb.com/list/ls085627608/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627608/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627608/ref_=rls_4
https://www.imdb.com/list/ls085627608/?ref_=otl_x
https://www.imdb.com/list/ls085627608/?mode=desktop
https://www.imdb.com/list/ls085627608/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627608/?ref_=lom_jq
https://www.imdb.com/list/ls085627608/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627608/?okirn
https://www.imdb.com/list/ls085627608/?okirn=okirn
https://www.imdb.com/list/ls085627608/?okirn_=okirn
https://www.imdb.com/list/ls085627608/??okirn@okirn
https://m.imdb.com/list/ls085627608/
https://m.imdb.com/list/ls085627608/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627608/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627608/ref_=rls_4
https://m.imdb.com/list/ls085627608/?ref_=otl_x
https://m.imdb.com/list/ls085627608/?mode=desktop
https://m.imdb.com/list/ls085627608/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627608/?ref_=lom_jq
https://m.imdb.com/list/ls085627608/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627608/?okirn
https://m.imdb.com/list/ls085627608/?okirn=okirn
https://m.imdb.com/list/ls085627608/?okirn_=okirn
https://m.imdb.com/list/ls085627608/??okirn@okirn
https://www.imdb.com/list/ls085627616/
https://www.imdb.com/list/ls085627616/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627616/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627616/ref_=rls_4
https://www.imdb.com/list/ls085627616/?ref_=otl_x
https://www.imdb.com/list/ls085627616/?mode=desktop
https://www.imdb.com/list/ls085627616/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627616/?ref_=lom_jq
https://www.imdb.com/list/ls085627616/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627616/?vwrxd
https://www.imdb.com/list/ls085627616/?vwrxd=vwrxd
https://www.imdb.com/list/ls085627616/?vwrxd_=vwrxd
https://www.imdb.com/list/ls085627616/??vwrxd@vwrxd
https://m.imdb.com/list/ls085627616/
https://m.imdb.com/list/ls085627616/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627616/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627616/ref_=rls_4
https://m.imdb.com/list/ls085627616/?ref_=otl_x
https://m.imdb.com/list/ls085627616/?mode=desktop
https://m.imdb.com/list/ls085627616/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627616/?ref_=lom_jq
https://m.imdb.com/list/ls085627616/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627616/?vwrxd
https://m.imdb.com/list/ls085627616/?vwrxd=vwrxd
https://m.imdb.com/list/ls085627616/?vwrxd_=vwrxd
https://m.imdb.com/list/ls085627616/??vwrxd@vwrxd
https://www.imdb.com/list/ls085627642/
https://www.imdb.com/list/ls085627642/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627642/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627642/ref_=rls_4
https://www.imdb.com/list/ls085627642/?ref_=otl_x
https://www.imdb.com/list/ls085627642/?mode=desktop
https://www.imdb.com/list/ls085627642/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627642/?ref_=lom_jq
https://www.imdb.com/list/ls085627642/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627642/?goebo
https://www.imdb.com/list/ls085627642/?goebo=goebo
https://www.imdb.com/list/ls085627642/?goebo_=goebo
https://www.imdb.com/list/ls085627642/??goebo@goebo
https://m.imdb.com/list/ls085627642/
https://m.imdb.com/list/ls085627642/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627642/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627642/ref_=rls_4
https://m.imdb.com/list/ls085627642/?ref_=otl_x
https://m.imdb.com/list/ls085627642/?mode=desktop
https://m.imdb.com/list/ls085627642/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627642/?ref_=lom_jq
https://m.imdb.com/list/ls085627642/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627642/?goebo
https://m.imdb.com/list/ls085627642/?goebo=goebo
https://m.imdb.com/list/ls085627642/?goebo_=goebo
https://m.imdb.com/list/ls085627642/??goebo@goebo
https://www.imdb.com/list/ls085627255/
https://www.imdb.com/list/ls085627255/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627255/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627255/ref_=rls_4
https://www.imdb.com/list/ls085627255/?ref_=otl_x
https://www.imdb.com/list/ls085627255/?mode=desktop
https://www.imdb.com/list/ls085627255/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627255/?ref_=lom_jq
https://www.imdb.com/list/ls085627255/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627255/?wxawc
https://www.imdb.com/list/ls085627255/?wxawc=wxawc
https://www.imdb.com/list/ls085627255/?wxawc_=wxawc
https://www.imdb.com/list/ls085627255/??wxawc@wxawc
https://m.imdb.com/list/ls085627255/
https://m.imdb.com/list/ls085627255/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627255/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627255/ref_=rls_4
https://m.imdb.com/list/ls085627255/?ref_=otl_x
https://m.imdb.com/list/ls085627255/?mode=desktop
https://m.imdb.com/list/ls085627255/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627255/?ref_=lom_jq
https://m.imdb.com/list/ls085627255/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627255/?wxawc
https://m.imdb.com/list/ls085627255/?wxawc=wxawc
https://m.imdb.com/list/ls085627255/?wxawc_=wxawc
https://m.imdb.com/list/ls085627255/??wxawc@wxawc
https://www.imdb.com/list/ls085627227/
https://www.imdb.com/list/ls085627227/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627227/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627227/ref_=rls_4
https://www.imdb.com/list/ls085627227/?ref_=otl_x
https://www.imdb.com/list/ls085627227/?mode=desktop
https://www.imdb.com/list/ls085627227/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627227/?ref_=lom_jq
https://www.imdb.com/list/ls085627227/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627227/?tlndb
https://www.imdb.com/list/ls085627227/?tlndb=tlndb
https://www.imdb.com/list/ls085627227/?tlndb_=tlndb
https://www.imdb.com/list/ls085627227/??tlndb@tlndb
https://m.imdb.com/list/ls085627227/
https://m.imdb.com/list/ls085627227/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627227/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627227/ref_=rls_4
https://m.imdb.com/list/ls085627227/?ref_=otl_x
https://m.imdb.com/list/ls085627227/?mode=desktop
https://m.imdb.com/list/ls085627227/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627227/?ref_=lom_jq
https://m.imdb.com/list/ls085627227/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627227/?tlndb
https://m.imdb.com/list/ls085627227/?tlndb=tlndb
https://m.imdb.com/list/ls085627227/?tlndb_=tlndb
https://m.imdb.com/list/ls085627227/??tlndb@tlndb
https://www.imdb.com/list/ls085627299/
https://www.imdb.com/list/ls085627299/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627299/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627299/ref_=rls_4
https://www.imdb.com/list/ls085627299/?ref_=otl_x
https://www.imdb.com/list/ls085627299/?mode=desktop
https://www.imdb.com/list/ls085627299/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627299/?ref_=lom_jq
https://www.imdb.com/list/ls085627299/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627299/?fwocw
https://www.imdb.com/list/ls085627299/?fwocw=fwocw
https://www.imdb.com/list/ls085627299/?fwocw_=fwocw
https://www.imdb.com/list/ls085627299/??fwocw@fwocw
https://m.imdb.com/list/ls085627299/
https://m.imdb.com/list/ls085627299/?ref_=tt_rls_5
https://m.imdb.com/list/ls085627299/?ref_=nm_nwr2
https://m.imdb.com/list/ls085627299/ref_=rls_4
https://m.imdb.com/list/ls085627299/?ref_=otl_x
https://m.imdb.com/list/ls085627299/?mode=desktop
https://m.imdb.com/list/ls085627299/?mode=desktop&ref_=m_ft_dsk
https://m.imdb.com/list/ls085627299/?ref_=lom_jq
https://m.imdb.com/list/ls085627299/?ref_=kw_li_st_3
https://m.imdb.com/list/ls085627299/?fwocw
https://m.imdb.com/list/ls085627299/?fwocw=fwocw
https://m.imdb.com/list/ls085627299/?fwocw_=fwocw
https://m.imdb.com/list/ls085627299/??fwocw@fwocw
https://www.imdb.com/list/ls085627419/
https://www.imdb.com/list/ls085627419/?ref_=tt_rls_5
https://www.imdb.com/list/ls085627419/?ref_=nm_nwr2
https://www.imdb.com/list/ls085627419/ref_=rls_4
https://www.imdb.com/list/ls085627419/?ref_=otl_x
https://www.imdb.com/list/ls085627419/?mode=desktop
https://www.imdb.com/list/ls085627419/?mode=desktop&ref_=m_ft_dsk
https://www.imdb.com/list/ls085627419/?ref_=lom_jq
https://www.imdb.com/list/ls085627419/?ref_=kw_li_st_3
https://www.imdb.com/list/ls085627419/?gwort
https://www.imdb.com/list/ls085627419/?gwort=gwort
https://www.imdb.com/list/ls085627419/?gwort_=gwort
https://www.imdb.com/list/ls085627419/??gwort@gwort
https://m.imdb.com/list/ls085627419/
https://m.imdb.com/list/ls085627419/?ref_=tt_rls_5