#2168. C++-编译-lvalue required as unary '&' operand

C++-编译-lvalue required as unary '&' operand

Background

Description

lvalue required as unary '&' operand

左值需要作为一元的“&”操作数

可能是对一个表达式或者一个常数取地址了,比如:

int a=1;
int* p1=&(a+1);    //对表达式取地址
int* p2=&2;       //对常数取地址

Format

Input

Output

Samples



Limitation

1s, 1024KiB for each test case.