Job 17013

Owner
Baltatu Andrei-Mircea
Problem
Sequence
Contest
MindCoding 2016 Final 2
Source
0.69KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:24:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    scanf("%d",&a[i]);
                    ^
prog.cpp:29:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    scanf("%d",&b[i]);
                    ^
prog.cpp:17:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,ans=0;
        ^

Results

Test numberResultTime
1Ok0.2793s
2Ok0.2824s
3Ok0.2834s
4Ok0.2877s
5Ok0.2964s
6Ok0.2775s
7Ok0.2801s
8Ok0.2708s
9Ok0.3163s
10Ok0.2788s
11Ok0.5206s
12Ok0.7695s
13Ok0.4710s
14Ok0.7210s
15Ok0.2563s
16Ok0.2813s
17Ok0.6240s
Questions?

Sponsors Gold