Borderou de evaluare (job #2417653)
Utilizator | Data | 30 aprilie 2019 18:32:53 | |
---|---|---|---|
Problema | Vila 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:11: error: 'INT_MIN' was not declared in this scope
int max= INT_MIN;
^~~~~~~
main.cpp:13:12: warning: unused variable 's' [-Wunused-variable]
long long s = 0;
^
main.cpp:17:6: warning: unused variable 'len' [-Wunused-variable]
int len = 0;
^~~
main.cpp:12:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d %d", &n, &k);
^
main.cpp:15:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d", &A[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !