Below is the stupid code I made... and i have some OFFENCE to say
1.idk wat to see (the teacher who made this website) and this is possible in every solusion unless you might want to update this website bruh :(
2.secondly the "主任" this int i wwrote "lsplash" is read in L-splash, use google or study english next time... also ur not me... i want to name it this i name it this bro >:)
3.I'm a fair and sqare person, i dnt use chatGPT, if your like "曹操" and blame the innocent... then ur an idiot XD
#include<bits/stdc++.h>
using namespace std; int n[5],lsplash; int compute(int n[5]) { for(int i=0;i<5;i++) if(n[i]>lsplash)
wtf=n[i]; return lsplash;
} int main() { for(int i=0;i<5;i++) cin>>n[i]; cout<<compute(n)<<endl; return 0; }
if anyone read this i just want to say be nice or be **** (i cover this bad word cause it impolite)
also thanks 李 teacher for teaching me c++ :)
sry some mistakes...
#include<bits/stdc++.h>
using namespace std; int n[5],lsplash; int compute(int n[5]) { for(int i=0;i<5;i++) if(n[i]>lsplash)
lsplash=n[i]; return lsplash;
} int main() { for(int i=0;i<5;i++) cin>>n[i]; cout<<compute(n)<<endl; return 0; }