Borderou de evaluare (job #1791424)
Utilizator | Data | 29 octombrie 2016 12:55:52 | |
---|---|---|---|
Problema | Gheizere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:16: error: ‘m’ was not declared in this scope
for(int i=0;i<m;i++)
^
user.cpp:26:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(stiva.empty() && B[a[i]]!=0)
^
user.cpp:29:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[a[i]]--;
^
user.cpp:30:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[b[i]]--;
^
user.cpp:33:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(stiva.top()<a[i] && A[a[i]]>B[a[i]] && B[a[i]]!=0)
^
user.cpp:33:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(stiva.top()<a[i] && A[a[i]]>B[a[i]] && B[a[i]]!=0)
^
user.cpp:33:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(stiva.top()<a[i] && A[a[i]]>B[a[i]] && B[a[i]]!=0)
^
user.cpp:35:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[stiva.top()]++;
^
user.cpp:38:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[a[i]]--;
^
user.cpp:39:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[b[i]]--;
^
user.cpp:16:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%s %s ",a,b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !