Borderou de evaluare (job #1874833)
Utilizator | Data | 10 februarie 2017 14:38:51 | |
---|---|---|---|
Problema | Sum Max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:80:24: error: expected primary-expression before ‘)’ token
for(int i = 0; i < )
^
user.cpp:80:24: error: expected ‘;’ before ‘)’ token
user.cpp:81:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp:81:1: error: expected ‘;’ before ‘}’ token
user.cpp:78:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = 1;
^
user.cpp: In function ‘void citire()’:
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v);
^
user.cpp:15:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &st, &dr);
^
user.cpp:21:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &matx[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:85:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("summax.in", "r", stdin);
^
user.cpp:86:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("summax.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !