Job 17351

Owner
Raul Muresan
Problem
Sequence
Source
0.99KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:17:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d",&n);
                  ^
prog.cpp:21:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
         scanf("%d",&a[i]);
                         ^
prog.cpp:25:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
         scanf("%d",&b[i]);
                         ^

Results

Test numberResultTime
1Ok0.2895s
2Ok0.2903s
3Ok0.2969s
4Ok0.2923s
5Ok0.2909s
6Ok0.2919s
7Ok0.2939s
8Ok0.2908s
9Ok0.3258s
10Ok0.2923s
11Ok0.5286s
12Ok0.7129s
13Ok0.4599s
14Ok0.6687s
15Ok0.2926s
16Ok0.3161s
17Ok0.6069s
Questions?

Sponsors Gold