Borderou de evaluare (job #1246183)
Utilizator | Poenaru Roxana roxana.istrate | Data | 20 octombrie 2014 18:50:01 |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:38: error: ‘INT_MIN’ was not declared in this scope
int nrs, dpi = -(1 << 30), maximum = INT_MIN, leftn;
^
user.cpp: In function ‘int main()’:
user.cpp:16:4: error: ‘leftn’ was not declared in this scope
leftn = i;
^
user.cpp:19:13: error: ‘leftn’ was not declared in this scope
ans[0] = leftn;
^
user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in", "r", stdin);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sssm.out", "w", stdout);
^
user.cpp:11:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrs);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !