随笔分类 - c++
摘要:main.cpp #include<iostream> using namespace std; int main() { cout << "Hello world!" << endl; return 0; } 编译单个的文件 g++ main.cpp -o you_want_name 参考 htt
        阅读全文
                
摘要:class Solution(): def __init__(self, x): self.params = x def func(self): print(self.params) c++ class Solution{ public: Solution(int i){ cout << i << 
        阅读全文
                
摘要:class Solution { public: void FindNumsAppearOnce(vector<int> data,int* num1,int *num2) { vector<int> res; map<int, int> m; for(auto x:data) m[x]++; fo
        阅读全文
                
                    
                
浙公网安备 33010602011771号