摘要:
使用Qtcreator 写完 shader文件之后运行时出现标题的这个错误 报错信息如下: QOpenGLShader::compile(Fragment): 0(2) : error C0204: version directive must be first statement and may 阅读全文
摘要:
###并查集介绍 今天刷leetcode碰到一个带权重的并查集,记录一下 题目:399. 除法求值 class Solution { public: int findf(vector<int>& f, vector<double>& w, int x) { if (f[x] != x) { int 阅读全文