随笔分类 - 2023暑期ICPC训练联盟程序设计夏令营-试题代码
摘要:# Add bricks in the wall ``` C++ #include #include using namespace std; int main() { int n = 0; // 测试用例数量 int t = 9; // 行数 cin >> n; while (n--) { int
阅读全文
摘要:# Is This Integration ``` C++ #include #include #define pi 3.141592653589793 using namespace std; int main(){ double a; while(cin >> a){ double x, y,
阅读全文
摘要:# Satellites ``` C++ #include #include using namespace std; int main() { const double pi = 3.14159265358979323846; const double earthR = 6440; double
阅读全文
摘要:# Fourth Point !! ``` c++ #include using namespace std; class point { public: double x; double y; bool equals(const point &p) { if (p.x == x && p.y ==
阅读全文