Borderou de evaluare (job #1633142)
Utilizator | Data | 6 martie 2016 11:40:18 | |
---|---|---|---|
Problema | MaxSubSum | Status | done |
Runda | ONIS 2016, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:16: error: ‘INT_MIN’ was not declared in this scope
int maxS = INT_MIN, finL, finR, finT, finB;
^
user.cpp:45:17: error: ‘finL’ was not declared in this scope
finL = l;
^
user.cpp:46:17: error: ‘finR’ was not declared in this scope
finR = r;
^
user.cpp:47:17: error: ‘finT’ was not declared in this scope
finT = start;
^
user.cpp:48:17: error: ‘finB’ was not declared in this scope
finB = stop;
^
user.cpp: In function ‘void maxV(long int*, int, int&, int&, long int&)’:
user.cpp:64:10: error: ‘LONG_MIN’ was not declared in this scope
mx = LONG_MIN;
^
user.cpp: In function ‘void computeMatrix()’:
user.cpp:96:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&a[i]);
^
user.cpp:101:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&b[j]);
^
user.cpp:92:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:96:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
user.cpp:101:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&b[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !