Language: C

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

Status
Judge: 20/20 
C 
CPU: 00.00 sec 
Memory: 632 KB 
Length: 300 B 
2016-12-08 16:25 
2016-12-08 16:25 
Results for testcases
Case #
Verdict
CPU Time
Memory
In
Out
Case Name
Case #1:
: Accepted 
00.00 sec
632 KB
14 B
8 B
00_sample_00.in
Case #2:
: Accepted 
00.00 sec
628 KB
13 B
8 B
01_small_00.in
Case #3:
: Accepted 
00.00 sec
628 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
628 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
628 KB
286 B
11 B
02_rand_04.in
Case #11:
: Accepted 
00.00 sec
632 KB
416 B
12 B
02_rand_05.in
Case #12:

Compiler output:
main.c:2:1: error: expected identifier or '(' before '?' token
    2 | ????
      | ^
main.c:42:1: error: unknown type name 'Compile'
   42 | Compile Error Logs:
      | ^~~~~~~
main.c:42:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   42 | Compile Error Logs:
      |               ^~~~
main.c:51:9: error: invalid digit "8" in octal constant
   51 | 2016-12-08 16:25
      |         ^~
main.c:52:9: error: invalid digit "8" in octal constant
   52 | 2016-12-08 16:25
      |         ^~
main.c:54:6: error: stray '#' in program
   54 | Case #
      |      ^
main.c:61:6: error: stray '#' in program
   61 | Case #1:
      |      ^
main.c:67:1: error: invalid suffix "_sample_00.in" on integer constant
   67 | 00_sample_00.in
      | ^~~~~~~~~~~~~~~
main.c:68:6: error: stray '#' in program
   68 | Case #2:
      |      ^
main.c:74:1: error: invalid suffix "_small_00.in" on integer constant
   74 | 01_small_00.in
      | ^~~~~~~~~~~~~~
main.c:75:6: error: stray '#' in program
   75 | Case #3:
      |      ^
main.c:81:1: error: invalid suffix "_small_01.in" on integer constant
   81 | 01_small_01.in
      | ^~~~~~~~~~~~~~
main.c:82:6: error: stray '#' in program
   82 | Case #4:
      |      ^
main.c:88:1: error: invalid suffix "_small_02.in" on integer constant
   88 | 01_small_02.in
      | ^~~~~~~~~~~~~~
main.c:89:6: error: stray '#' in program
   89 | Case #5:
      |      ^
main.c:95:1: error: invalid suffix "_small_03.in" on integer constant
   95 | 01_small_03.in
      | ^~~~~~~~~~~~~~
main.c:96:6: error: stray '#' in program
   96 | Case #6:
      |      ^
main.c:102:1: error: invalid suffix "_rand_00.in" on integer constant
  102 | 02_rand_00.in
      | ^~~~~~~~~~~~~
main.c:103:6: error: stray '#' in program
  103 | Case #7:
      |      ^
main.c:109:1: error: invalid suffix "_rand_01.in" on integer constant
  109 | 02_rand_01.in
      | ^~~~~~~~~~~~~
main.c:110:6: error: stray '#' in program
  110 | Case #8:
      |      ^
main.c:116:1: error: invalid suffix "_rand_02.in" on integer constant
  116 | 02_rand_02.in
      | ^~~~~~~~~~~~~
main.c:117:6: error: stray '#' in program
  117 | Case #9:
      |      ^
main.c:123:1: error: invalid suffix "_rand_03.in" on integer constant
  123 | 02_rand_03.in
      | ^~~~~~~~~~~~~
main.c:124:6: error: stray '#' in program
  124 | Case #10:
      |      ^
main.c:130:1: error: invalid suffix "_rand_04.in" on integer constant
  130 | 02_rand_04.in
      | ^~~~~~~~~~~~~
main.c:131:6: error: stray '#' in program
  131 | Case #11:
      |      ^
main.c:137:1: error: invalid suffix "_rand_05.in" on integer constant
  137 | 02_rand_05.in
      | ^~~~~~~~~~~~~
main.c:138:6: error: stray '#' in program
  138 | Case #12:
      |      ^