Language: C

#include<stdio.h>
????
int main(void)
????
{
????
??int n,x,min,max;
????
??long sum;
????
????
??int i;
????
????
??scanf("%d %d",&n,&x);
????
??min=max=sum=x;
????
????
??for(i=1; i<n; i++){
????
????scanf("%d",&x);
????
????sum +=x;
????
????
????if(max<x)
????
????
??????max=x;
????
????
????if(min>x)
????
????
??????min=x;
????
????
????}
????
????
????printf("%d %d %ld\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: 600 KB 
Length: 317 B 
2016-12-08 16:28 
2016-12-08 16:28 
Results for testcases
Case #
Verdict
CPU Time
Memory
In
Out
Case Name
Case #1:
: Accepted 
00.00 sec
596 KB
14 B
8 B
00_sample_00.in
Case #2:
: Accepted 
00.00 sec
596 KB
13 B
8 B
01_small_00.in
Case #3:
: Accepted 
00.00 sec
600 KB
21 B
8 B
01_small_01.in
Case #4:
: Accepted 
00.00 sec
600 KB
30 B
10 B
01_small_02.in
Case #5:
: Accepted 
00.00 sec
600 KB
42 B
9 B
01_small_03.in
Case #6:
: Accepted 
00.00 sec
600 KB
63 B
11 B
02_rand_00.in
Case #7:
: Accepted 
00.00 sec
596 KB
98 B
11 B
02_rand_01.in
Case #8:
: Accepted 
00.00 sec
600 KB
156 B
11 B
02_rand_02.in
Case #9:
: Accepted 
00.00 sec
596 KB
196 B
12 B
02_rand_03.in
Case #10:
: Accepted 
00.00 sec
600 KB
286 B
11 B
02_rand_04.in
Case #11:
: Accepted 
00.00 sec
600 KB
416 B
12 B
02_rand_05.in
Case #12:
: Accepted 
00.00 sec
592 KB
1134 B
15 B
02_rand_06.in
Case #13:
: Accepted 
00.00 sec
600 KB
4 B
6 B
03_corner_00.in
Case #14:

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