Borderou de evaluare (job #1496625)
Raport evaluator
Compilare:
user.cpp: In function ‘bool E()’:
user.cpp:21:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[q]=='O' && s[q+1]=='R')
^
user.cpp: In function ‘bool T()’:
user.cpp:34:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[q]=='A' && s[q+1]=='N')
^
user.cpp: In function ‘bool F()’:
user.cpp:46:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='(')
^
user.cpp:53:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='N' && s[q+1]=='O')
^
user.cpp:60:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='T' && s[q+1]=='R')
^
user.cpp:65:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='F' && s[q+1]=='A')
^
user.cpp:71:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[s[q]-'A'] == 0)
^
user.cpp:76:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[s[q]-'A'] == 1)
^
user.cpp: In function ‘int main()’:
user.cpp:95:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[q++]=ch;
^
user.cpp: In function ‘bool F()’:
user.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:102:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d\n", &n);
^
user.cpp:108:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 40 |