Pagini recente » Borderou de evaluare (job #831454) | Borderou de evaluare (job #1796198) | Borderou de evaluare (job #1397906) | Borderou de evaluare (job #1796194) | Borderou de evaluare (job #1572244)
Borderou de evaluare (job #1572244)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("OR",'|');
^
user.cpp:44:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("AND",'&');
^
user.cpp:45:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("NOT",'!');
^
user.cpp:46:21: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("TRUE",'1');
^
user.cpp:47:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("FALSE",'0');
^
user.cpp:62:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lit] = !v[lit];
^
user.cpp:62:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[lit] = !v[lit];
^
user.cpp:35:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:35:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:35:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:35:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:35:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp: In function ‘bool f3()’:
user.cpp:118:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else r = v[q[indi]];
^
user.cpp: In function ‘int main()’:
user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:40:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q,1500,stdin);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 252kb | OK | 10 |
7 | 0ms | 256kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 252kb | OK | 10 |
10 | 0ms | 252kb | OK | 10 |
Punctaj total | 100 |