摘要:
函数 1 函数的定义及调用 定义: def 函数名(形参): 函数体 return 返回值#可有可无,不填默认返回none 和C++一样,有主函数:(我之前一直还以为没有来着,,,) 调用 函数名(实参) 2 参数的传递 2.1 一般的传递 位置参数 没设置默认参数时,按照位置关系一一对应,和C++ 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); typedef long long ll; typedef unsigned long l 阅读全文
摘要:
好久没写博客了== #include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); typedef long long ll; typedef unsig 阅读全文