Borderou de evaluare (job #1591286)
Utilizator | Data | 5 februarie 2016 23:04:51 | |
---|---|---|---|
Problema | Hacker2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read_edge()’:
user.cpp:13:34: warning: too many arguments for format [-Wformat-extra-args]
scanf("%d %d", &x, &y, &c);
^
user.cpp: In function ‘void solve()’:
user.cpp:26:10: error: ‘j’ was not declared in this scope
for (j = 1; 1 << j <= n; ++ j)
^
user.cpp: In function ‘int find_anc(int, int)’:
user.cpp:37:10: error: ‘i’ was not declared in this scope
for (i = 0; 1 << i <= n; ++ i)
^
user.cpp:38:19: error: ‘q’ was not declared in this scope
if (s[q][i] < p)
^
user.cpp:45:5: error: ‘k’ was not declared in this scope
k = p;
^
user.cpp:46:12: error: ‘q’ was not declared in this scope
return q;
^
user.cpp: In function ‘int find_son(int, int)’:
user.cpp:50:10: error: ‘i’ was not declared in this scope
for (i = 0; 1 << i <= n; ++ i)
^
user.cpp:51:19: error: ‘q’ was not declared in this scope
if (S[q][i] < p)
^
user.cpp:58:5: error: ‘k’ was not declared in this scope
k = p;
^
user.cpp:59:12: error: ‘q’ was not declared in this scope
return q;
^
user.cpp: In function ‘void write()’:
user.cpp:66:9: error: ‘k’ was not declared in this scope
k = 0;
^
user.cpp:68:18: error: ‘Log’ was not declared in this scope
if (s[x][Log[n]] > p)
^
user.cpp: In function ‘void read_edge()’:
user.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y, &c);
^
user.cpp: In function ‘int find_anc(int, int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int find_son(int, int)’:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !