- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 几个数学证明,好像对又不对
1.广为人知的“1=2证明”a=ba²=aba²-b²=ab-b²(a+b)(a-b)=b(a-b)a+b=bb=2b1=2错误广为人知(想不出别的了),a-b=0.2.复数的重要性x² + x + 1 = 0x² = – x – 1x = – 1 – 1/xx² + (-1 – 1/x) + 1 = 0(代入原式)x² – 1/x = 0x³ = 1代入原式3=0???其实,x = 1并不是方程x² + x + 1 = 0..
2022-05-22 15:04:11
292
原创 bogobogo sort(doge)蠢猴排序
众所周知,猴子排序是个非常看人品的排序,好的人一次完事,坏的人无限循环,谁都知道,打乱了再排,贴上代码#include<bits/stdc++.h>using namespace std;int a[10000],n;bool sorted(int n){ while (--n>=1) if(a[n]<a[n-1]) return false; return true;}void bogosort(int n){ while ( !sort
2022-01-30 11:35:56
1982
原创 卡常过黑题(众所周知的题目CF896E)
洛谷有到大水题,不知卡常肯定急。暴力卡常绝对过,一切都是像放屁。(如此水的打油诗)不闹了,先上代码细细品吧#pragma GCC optimize("Ofast,no-stack-protector")#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")#include<bits/stdc++.h>using namespace std;const int N=
2021-11-04 20:59:00
627
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1