Submission #7937

#TimeUsernameProblemLanguageResultExecution timeMemory
7937cki86201카드 (GA8_card)C++98
100 / 100
0 ms1096 KiB
#include<stdio.h> #include<algorithm> int mian[2225]; int main(){ int mani, mina = 0; scanf("%d",&mani); for(int mnia=0;mnia<mani;mnia++)scanf("%d",mian+mnia); for(int mnai=0;mnai<mani;mnai++)mina += mian[mnai]; printf("%d", mina - *(std::max_element(mian, mian+mani))); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...