0_0_26774345_2478.cpp: In function 'int main()': 0_0_26774345_2478.cpp:9:42: error: 'year' was not declared in this scope if(nian % 400 == 0&&( nian % 100 != 0||year % 4 == 0)) ^