Borderou de evaluare (job #1110115)
Utilizator | Data | 17 februarie 2014 20:45:05 | |
---|---|---|---|
Problema | Arbsat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void build(int)’:
user.cpp:93:46: warning: unused variable ‘_NN’ [-Wunused-variable]
#define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II))
^
user.cpp:129:3: note: in expansion of macro ‘re’
re (i, 2 * MAX_N)
^
user.cpp: In function ‘int solve_positive_quarter()’:
user.cpp:93:46: warning: unused variable ‘_NN’ [-Wunused-variable]
#define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II))
^
user.cpp:166:3: note: in expansion of macro ‘re’
re (tree, 2)
^
user.cpp:93:46: warning: unused variable ‘_NN’ [-Wunused-variable]
#define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II))
^
user.cpp:169:3: note: in expansion of macro ‘re’
re (i, N) {
^
user.cpp:93:46: warning: unused variable ‘_NN’ [-Wunused-variable]
#define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II))
^
user.cpp:188:3: note: in expansion of macro ‘re’
re (i, N) {
^
user.cpp: In function ‘void gen_brute_solve()’:
user.cpp:276:13: warning: unused variable ‘x’ [-Wunused-variable]
int x = rand() % N;
^
user.cpp:277:13: warning: unused variable ‘y’ [-Wunused-variable]
int y = rand() % N;
^
user.cpp:278:20: error: ‘x’ was not declared in this scope
} while(used[x][y]);
^
user.cpp:278:23: error: ‘y’ was not declared in this scope
} while(used[x][y]);
^
user.cpp:93:46: warning: unused variable ‘_NN’ [-Wunused-variable]
#define re(II, NN) for (int II(0), _NN(NN); (II) < (NN); ++(II))
^
user.cpp:274:5: note: in expansion of macro ‘re’
re (i, N) {
^
user.cpp:283:9: warning: unused variable ‘my_res’ [-Wunused-variable]
int my_res = solve();
^
user.cpp:284:9: warning: unused variable ‘brute_res’ [-Wunused-variable]
int brute_res = brute();
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !