Job 17350

Owner
Raul Muresan
Problem
Sequence
Source
0.96KB
Result
Wrong answer

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]);
                         ^
prog.cpp:52:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d\n",sol);
                      ^

Results

Test numberResultTime
1Wrong answer0.2928s
Questions?

Sponsors Gold