Pagini recente » Borderou de evaluare (job #2628346) | Borderou de evaluare (job #407757) | Borderou de evaluare (job #1518291) | Borderou de evaluare (job #1028855) | Borderou de evaluare (job #1515534)
Borderou de evaluare (job #1515534)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("OR\0",'|',2);
^
user.cpp:37:24: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("AND\0",'&',3);
^
user.cpp:38:24: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("NOT\0",'!',3);
^
user.cpp:39:25: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("TRUE\0",'1',4);
^
user.cpp:40:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("FALSE\0",'0',5);
^
user.cpp:42:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i ){
^
user.cpp:50:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( v[lit] == 1 ) v[lit] = 0;
^
user.cpp:50:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( v[lit] == 1 ) v[lit] = 0;
^
user.cpp:51:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else v[lit] = 1;
^
user.cpp:30:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp: In function ‘int f2()’:
user.cpp:104:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t = v[q[indi]];
^
user.cpp: In function ‘int main()’:
user.cpp:27: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);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 20 |