foo.cc:1:1: error: 'include' does not name a type
1 | include<iostream>
| ^~~~~~~
foo.cc: In function 'void Disparity(int, int, int, int, int, int)':
foo.cc:35:3: error: 'cout' was not declared in this scope
35 | cout << "这两个日期相差" << MDisparity << "天" << endl;
| ^~~~
foo.cc:35:61: error: 'endl' was not declared in this scope
35 | cout << "这两个日期相差" << MDisparity << "天" << endl;
| ^~~~
foo.cc:46:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
46 | if ((i % 400 == 0) || (i % 4 == 0) && (i % 100 != 0))
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
foo.cc:64:2: error: 'cout' was not declared in this scope
64 | cout << disparity << endl;
| ^~~~
foo.cc:64:23: error: 'endl' was not declared in this scope
64 | cout << disparity << endl;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务