Job 14201

Owner
Bucevschi Alexandru
Problem
Red Dragon
Contest
MindCoding 2016 Round 1 Take Off Labs (Div. 1)
Source
3.12KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp:75:21: error: redefinition of 'long long int Arb [300010]'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                     ^
prog.cpp:6:11: note: 'long long int Arb [300010]' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
           ^
prog.cpp:75:32: error: redefinition of 'long long int a [100010]'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                ^
prog.cpp:6:24: note: 'long long int a [100010]' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                        ^
prog.cpp:75:35: error: redefinition of 'long long int x'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                   ^
prog.cpp:6:35: note: 'long long int x' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                   ^
prog.cpp:75:38: error: redefinition of 'long long int y'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                      ^
prog.cpp:6:38: note: 'long long int y' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                      ^
prog.cpp:75:41: error: redefinition of 'long long int n'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                         ^
prog.cpp:6:41: note: 'long long int n' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                         ^
prog.cpp:75:44: error: redefinition of 'long long int m'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                            ^
prog.cpp:6:44: note: 'long long int m' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                            ^
prog.cpp:75:47: error: redefinition of 'long long int i'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                               ^
prog.cpp:6:47: note: 'long long int i' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                               ^
prog.cpp:75:50: error: redefinition of 'long long int cod'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                  ^
prog.cpp:6:50: note: 'long long int cod' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                  ^
prog.cpp:75:55: error: redefinition of 'long long int j'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                       ^
prog.cpp:6:55: note: 'long long int j' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                       ^
prog.cpp:75:58: error: redefinition of 'long long int l'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                          ^
prog.cpp:6:58: note: 'long long int l' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                          ^
prog.cpp:75:61: error: redefinition of 'long long int sc'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                             ^
prog.cpp:6:61: note: 'long long int sc' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                             ^
prog.cpp:75:65: error: redefinition of 'long long int sol'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                 ^
prog.cpp:6:65: note: 'long long int sol' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                 ^
prog.cpp:75:70: error: redefinition of 'long long int xx'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                      ^
prog.cpp:6:70: note: 'long long int xx' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                      ^
prog.cpp:75:74: error: redefinition of 'long long int yy'
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                          ^
prog.cpp:6:74: note: 'long long int yy' previously declared here
 long long Arb[300010], a[100010], x, y, n, m, i, cod, j, l, sc, sol, xx, yy;
                                                                          ^
prog.cpp: In function 'void build(long long int, long long int, long long int)':
prog.cpp:76:6: error: redefinition of 'void build(long long int, long long int, long long int)'
 void build(long long nod, long long st, long long dr) {
      ^
prog.cpp:7:6: note: 'void build(long long int, long long int, long long int)' previously defined here
 void build(long long nod, long long st, long long dr) {
      ^
prog.cpp: In function 'void update(long long int, long long int, long long int)':
prog.cpp:87:6: error: redefinition of 'void update(long long int, long long int, long long int)'
 void update(long long nod, long long st, long long dr) {
      ^
prog.cpp:18:6: note: 'void update(long long int, long long int, long long int)' previously defined here
 void update(long long nod, long long st, long long dr) {
      ^
prog.cpp: In function 'long long int query(long long int, long long int, long long int)':
prog.cpp:102:11: error: redefinition of 'long long int query(long long int, long long int, long long int)'
 long long query(long long nod, long long st, long long dr) {
           ^
prog.cpp:33:11: note: 'long long int query(long long int, long long int, long long int)' previously defined here
 long long query(long long nod, long long st, long long dr) {
           ^
prog.cpp: In function 'int main()':
prog.cpp:114:5: error: redefinition of 'int main()'
 int main() {
     ^
prog.cpp:45:5: note: 'int main()' previously defined here
 int main() {
     ^

Questions?

Sponsors Gold