Language: C

#include<stdio.h>
??
int main(void){
??
int ai,n,i,b,s;
??
double w;
??
b=-1000000;
??
s=1000000;
??
scanf("%d",&n);
??
for(i=0;i<n;i++){
??
scanf("%d",&ai);
??
if(ai<s){
??
s=ai;
??
}
??
if(b<ai){
??
b=ai;
??
}
??
w=w+ai;
??
}
??
printf("%d %d %0.lf\n",s,b,w);
??
return 0;
??
}
Compile Error Logs:
You are not authorized to see the message. 

Status
Judge: 20/20 
C 
CPU: 00.00 sec 
Memory: 636 KB 
Length: 242 B 
2016-12-09 16:26 
2016-12-09 16:26 
Results for testcases
Case #
Verdict
CPU Time
Memory
In
Out
Case Name
Case #1:
: Accepted 
00.00 sec
628 KB
14 B
8 B
00_sample_00.in
Case #2:
: Accepted 
00.00 sec
632 KB
13 B
8 B
01_small_00.in
Case #3:
: Accepted 
00.00 sec
632 KB
21 B
8 B
01_small_01.in
Case #4:
: Accepted 
00.00 sec
632 KB
30 B
10 B
01_small_02.in
Case #5:
: Accepted 
00.00 sec
632 KB
42 B
9 B
01_small_03.in
Case #6:
: Accepted 
00.00 sec
632 KB
63 B
11 B
02_rand_00.in
Case #7:
: Accepted 
00.00 sec
632 KB
98 B
11 B
02_rand_01.in
Case #8:
: Accepted 
00.00 sec
632 KB
156 B
11 B
02_rand_02.in
Case #9:
: Accepted 
00.00 sec
632 KB
196 B
12 B
02_rand_03.in
Case #10:
: Accepted 
00.00 sec
632 KB
286 B
11 B
02_rand_04.in

Compiler output:
main.c:2:1: error: expected identifier or '(' before '?' token
    2 | ??
      | ^
main.c:40:1: error: unknown type name 'Compile'
   40 | Compile Error Logs:
      | ^~~~~~~
main.c:40:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   40 | Compile Error Logs:
      |               ^~~~
main.c:49:9: error: invalid digit "9" in octal constant
   49 | 2016-12-09 16:26
      |         ^~
main.c:50:9: error: invalid digit "9" in octal constant
   50 | 2016-12-09 16:26
      |         ^~
main.c:52:6: error: stray '#' in program
   52 | Case #
      |      ^
main.c:59:6: error: stray '#' in program
   59 | Case #1:
      |      ^
main.c:65:1: error: invalid suffix "_sample_00.in" on integer constant
   65 | 00_sample_00.in
      | ^~~~~~~~~~~~~~~
main.c:66:6: error: stray '#' in program
   66 | Case #2:
      |      ^
main.c:72:1: error: invalid suffix "_small_00.in" on integer constant
   72 | 01_small_00.in
      | ^~~~~~~~~~~~~~
main.c:73:6: error: stray '#' in program
   73 | Case #3:
      |      ^
main.c:79:1: error: invalid suffix "_small_01.in" on integer constant
   79 | 01_small_01.in
      | ^~~~~~~~~~~~~~
main.c:80:6: error: stray '#' in program
   80 | Case #4:
      |      ^
main.c:86:1: error: invalid suffix "_small_02.in" on integer constant
   86 | 01_small_02.in
      | ^~~~~~~~~~~~~~
main.c:87:6: error: stray '#' in program
   87 | Case #5:
      |      ^
main.c:93:1: error: invalid suffix "_small_03.in" on integer constant
   93 | 01_small_03.in
      | ^~~~~~~~~~~~~~
main.c:94:6: error: stray '#' in program
   94 | Case #6:
      |      ^
main.c:100:1: error: invalid suffix "_rand_00.in" on integer constant
  100 | 02_rand_00.in
      | ^~~~~~~~~~~~~
main.c:101:6: error: stray '#' in program
  101 | Case #7:
      |      ^
main.c:107:1: error: invalid suffix "_rand_01.in" on integer constant
  107 | 02_rand_01.in
      | ^~~~~~~~~~~~~
main.c:108:6: error: stray '#' in program
  108 | Case #8:
      |      ^
main.c:114:1: error: invalid suffix "_rand_02.in" on integer constant
  114 | 02_rand_02.in
      | ^~~~~~~~~~~~~
main.c:115:6: error: stray '#' in program
  115 | Case #9:
      |      ^
main.c:121:1: error: invalid suffix "_rand_03.in" on integer constant
  121 | 02_rand_03.in
      | ^~~~~~~~~~~~~
main.c:122:6: error: stray '#' in program
  122 | Case #10:
      |      ^
main.c:128:1: error: invalid suffix "_rand_04.in" on integer constant
  128 | 02_rand_04.in
      | ^~~~~~~~~~~~~