#2156. C++-编译-assignment of read-only variable 'xxx'
C++-编译-assignment of read-only variable 'xxx'
Background
Description
assignment of read-only variable 'xxx'
给const赋值了,比如:
const int a=2;
a=3; //a是常量,不能被赋值
Format
Input
Output
Samples
Limitation
1s, 1024KiB for each test case.