Problem housing
User Tyx2019
Submission Time 2023-06-03 11:59:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

housing.cpp: In function ‘int main()’:
housing.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
housing.cpp:5:2: note: in expansion of macro ‘int’
5 | int ans[105]={1,1,1,1,1,2,2,3,3,4,5,6,7,9,10,13,15,18,21,26,30,36,42,50,58,70,80,95,110,129,150,176,202,236,272,317,364,423,484,560,643,740,847,975,1112,1277,1456,1666,1897,2168,2464,2809,3189,3627,4112,4673,5287,5995,6778,7671,8662,9791,11037,12457,14029,15810,17782,20015,22482,25270,28360,31833,35683,40010,44795,50170,56116,62772,70140,78381,87490,97663,108913,121450,135310,150747,167788,186747,207681,230927,256590,285063,316460,351267,389642,432126};
| ^~~
housing.cpp:5:6: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
5 | int ans[105]={1,1,1,1,1,2,2,3,3,4,5,6,7,9,10,13,15,18,21,26,30,36,42,50,58,70,80,95,110,129,150,176,202,236,272,317,364,423,484,560,643,740,847,975,1112,1277,1456,1666,1897,216