Borderou de evaluare (job #1565418)
Utilizator | Data | 10 ianuarie 2016 18:59:54 | |
---|---|---|---|
Problema | CT | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfm(int)’:
user.cpp:26:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp:29:13: error: ‘df’ was not declared in this scope
df(y);
^
user.cpp: In function ‘void dfeuler(int, int)’:
user.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp: In function ‘int lca(int, int)’:
user.cpp:70:13: warning: unused variable ‘tmp’ [-Wunused-variable]
int tmp = x;
^
user.cpp: In function ‘int main()’:
user.cpp:94:20: error: ‘T’ was not declared in this scope
M[i] = T[i] = 0;
^
user.cpp:118:45: error: ‘sort’ was not declared in this scope
sort(LCA.begin(), LCA.end(), lca_cmp);
^
user.cpp:84:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ct.in", "r", stdin);
^
user.cpp:85:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ct.out", "w", stdout);
^
user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:90:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:91:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:98:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:112:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !