Submission #13897

#TimeUsernameProblemLanguageResultExecution timeMemory
13897temp카드 (GA8_card)C++98
Compilation error
0 ms0 KiB
main(n,a,m){m=-1;int s=0; scanf("%d",&n);while(n--){ scanf("%d",&a);if(m<a)m=a;s+=a; }printf("%d",s-m);}

Compilation message (stderr)

card.cpp:1:5: error: expected constructor, destructor, or type conversion before ‘(’ token
 main(n,a,m){m=-1;int s=0;
     ^