算法 1~m 的和被人用 1329 行代码写出来了

tctm103 2023-05-15 20:41:30 0
#include <bits/stdc++.h>
#pragma GCC diagnostic error "-std=c++11"
#pragma GCC target("avx")
#pragma GCC optimize(1)
#pragma GCC optimize(2)
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("-fgcse")
#pragma GCC optimize("-fgcse-lm")
#pragma GCC optimize("-fipa-sra")
#pragma GCC optimize("-ftree-pre")
#pragma GCC optimize("-ftree-vrp")
#pragma GCC optimize("-fpeephole2")
#pragma GCC optimize("-ffast-math")
#pragma GCC optimize("-fsched-spec")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-falign-jumps")
#pragma GCC optimize("-falign-loops")
#pragma GCC optimize("-falign-labels")
#pragma GCC optimize("-fdevirtualize")
#pragma GCC optimize("-fcaller-saves")
#pragma GCC optimize("-fcrossjumping")
#pragma GCC optimize("-fthread-jumps")
#pragma GCC optimize("-funroll-loops")
#pragma GCC optimize("-fwhole-program")
#pragma GCC optimize("-freorder-blocks")
#pragma GCC optimize("-fschedule-insns")
#pragma GCC optimize("inline-functions")
#pragma GCC optimize("-ftree-tail-merge")
#pragma GCC optimize("-fschedule-insns2")
#pragma GCC optimize("-fstrict-aliasing")
#pragma GCC optimize("-fstrict-overflow")
#pragma GCC optimize("-falign-functions")
#pragma GCC optimize("-fcse-skip-blocks")
#pragma GCC optimize("-fcse-follow-jumps")
#pragma GCC optimize("-fsched-interblock")
#pragma GCC optimize("-fpartial-inlining")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("-freorder-functions")
#pragma GCC optimize("-findirect-inlining")
#pragma GCC optimize("-fhoist-adjacent-loads")
#pragma GCC optimize("-frerun-cse-after-loop")
#pragma GCC optimize("inline-small-functions")
#pragma GCC optimize("-finline-small-functions")
#pragma GCC optimize("-ftree-switch-conversion")
#pragma GCC optimize("-foptimize-sibling-calls")
#pragma GCC optimize("-fexpensive-optimizations")
#pragma GCC optimize("-funsafe-loop-optimizations")
#pragma GCC optimize("inline-functions-called-once")
#pragma GCC optimize("-fdelete-null-pointer-checks")
#include <bits/stdc++.h>
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <complex>
#include <csignal>
#include <csetjmp>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cwchar>
#include <cwctype>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <bits/c++config.h>
#include <bits/functexcept.h>
#include <bits/cpp_type_traits.h>
#include <ext/type_traits.h>
#include <ext/numeric_traits.h>
#include <bits/stl_pair.h>
#include <bits/stl_iterator_base_types.h>
#include <bits/stl_iterator_base_funcs.h>
#include <bits/stl_iterator.h>
#include <bits/concept_check.h>
#include <debug/debug.h>
#include <bits/move.h>
using namespace std;long long int sum=0,ans=0;
int SB(int x) { return x; }
int sb(int x) { return x; }
int AcWing(int x) {
    return (x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x +
            x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x +
            x + x) /
           50;
}
long long int n(int a){
	for(int i=1;i<=a;i++){
		sum+=i;
	}
	return sum;
}
long long int m(int a){
	for(int i=1;i<=a;i++){
		ans+=i;
	}
	return ans;
}
int main(){
	int c;
	c += 1e5;
    c += 1e9;
    c += 1;
    c -= 1e5;
    c -= 1e9;
    c -= 1;
    c += 999999999;
    c += 999999999;
    c -= 999999999;
    c -= 999999999;
    c *= 1;
    c -= SB(c);
    c += sb(c);
    c += AcWing(c);
    c /= 2;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
    c = c;
	long long int a,b,sum1=0;
	cin>>a;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;
	b=a;
	a=b;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sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	sum1=sum;
	sum=sum1;
	for(int i=sum;i<=sum1;i++){
		m(a);
		break;	
	}
	long long int ans1;
	ans1=ans;
	ans=ans1;
	ans1=ans;
	cout<<ans1;
	return 0;
}
{{ vote && vote.total.up }}

共 7 条回复

Even226 逗比

本人是小白,可能不对

Even226 逗比

应该只用112行代码

Even226 逗比

#include <bits/stdc++.h> #pragma GCC diagnostic error "-std=c++11" #pragma GCC target("avx") #pragma GCC optimize(1) #pragma GCC optimize(2) #pragma GCC optimize(3) #pragma GCC optimize("Ofast") #pragma GCC optimize("inline") #pragma GCC optimize("-fgcse") #pragma GCC optimize("-fgcse-lm") #pragma GCC optimize("-fipa-sra") #pragma GCC optimize("-ftree-pre") #pragma GCC optimize("-ftree-vrp") #pragma GCC optimize("-fpeephole2") #pragma GCC optimize("-ffast-math") #pragma GCC optimize("-fsched-spec") #pragma GCC optimize("unroll-loops") #pragma GCC optimize("-falign-jumps") #pragma GCC optimize("-falign-loops") #pragma GCC optimize("-falign-labels") #pragma GCC optimize("-fdevirtualize") #pragma GCC optimize("-fcaller-saves") #pragma GCC optimize("-fcrossjumping") #pragma GCC optimize("-fthread-jumps") #pragma GCC optimize("-funroll-loops") #pragma GCC optimize("-fwhole-program") #pragma GCC optimize("-freorder-blocks") #pragma GCC optimize("-fschedule-insns") #pragma GCC optimize("inline-functions") #pragma GCC optimize("-ftree-tail-merge") #pragma GCC optimize("-fschedule-insns2") #pragma GCC optimize("-fstrict-aliasing") #pragma GCC optimize("-fstrict-overflow") #pragma GCC optimize("-falign-functions") #pragma GCC optimize("-fcse-skip-blocks") #pragma GCC optimize("-fcse-follow-jumps") #pragma GCC optimize("-fsched-interblock") #pragma GCC optimize("-fpartial-inlining") #pragma GCC optimize("no-stack-protector") #pragma GCC optimize("-freorder-functions") #pragma GCC optimize("-findirect-inlining") #pragma GCC optimize("-fhoist-adjacent-loads") #pragma GCC optimize("-frerun-cse-after-loop") #pragma GCC optimize("inline-small-functions") #pragma GCC optimize("-finline-small-functions") #pragma GCC optimize("-ftree-switch-conversion") #pragma GCC optimize("-foptimize-sibling-calls") #pragma GCC optimize("-fexpensive-optimizations") #pragma GCC optimize("-funsafe-loop-optimizations") #pragma GCC optimize("inline-functions-called-once") #pragma GCC optimize("-fdelete-null-pointer-checks") using namespace std;long long int sum=0,ans=0; int SB(int x) { return x; } int sb(int x) { return x; } int AcWing(int x) { return (x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x) / 50; } long long int n(int a){ for(int i=1;i<=a;i++){ sum+=i; } return sum; } long long int m(int a){ for(int i=1;i<=a;i++){ ans+=i; } return ans; } int main(){ int c; c += 1e5; c += 1e9; c += 1; c -= 1e5; c -= 1e9; c -= 1; c += 999999999; c += 999999999; c -= 999999999; c -= 999999999; c *= 1; c -= SB(c); c += sb(c); c += AcWing(c); c /= 2; c = c; long long int a,b,sum1=0; cin>>a; b=a; a=b; for(int i=1;i<=1;i++){ n(a); break; }

sum1=sum;
sum=sum1;
for(int i=sum;i<=sum1;i++){
	m(a);
	break;	
}
long long int ans1;
ans1=ans;
ans=ans1;
ans1=ans;
cout<<ans1;
return 0;

}

Even226 逗比

其实只用一小部份(估计就300左右)

ykj70

6

hqiqi

c = c; 凑字佬

CPP 刷题王

不食,至少几百行都是没用的