摘要:
以下是用dnSpy对Ultrakill源码反编译后拿到的MonoSingleton写法,删去了一部分应该是需要关联其他东西的代码。 using System; using System.Reflection; using UnityEngine; using UnityEngine.SceneMan 阅读全文
摘要:
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerCam : MonoBehaviour { public float sen 阅读全文
摘要:
setw和setfill 还在为输出前导零感到头疼?不想手写转换成字符串输出?想补齐其他东西?setw和setfill是你的好帮手! 所需前置头文件:iomanip(就是In and Out Manipulation,挺好记的) 用例(补齐前导零): int width = [总长度]; c 阅读全文
摘要:
世界上存在很难的题,但不存在暴力偷不到分的题 这题的暴力思路比你想的更简单,我直接枚举v的数值不就行了? #include<iostream> #include<algorithm> using namespace std; int a[10010], b[10010]; int main() 阅读全文