Pagini recente » Borderou de evaluare (job #912616) | Cod sursa (job #574232) | Cod sursa (job #1830331) | Borderou de evaluare (job #1203051) | Borderou de evaluare (job #1462177)
Borderou de evaluare (job #1462177)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[x] = !val[x];
^
user.cpp:32:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[x] = !val[x];
^
user.cpp:23:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘bool Solve()’:
user.cpp:66:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( so[h] == 2 ) sn[h] = val[x] && sn[h];
^
user.cpp:67:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( so[h] == 3 ) sn[h] = val[x] || sn[h];
^
user.cpp:68:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( so[h] == 4 ) sn[h] = (!val[x]) && sn[h];
^
user.cpp:69:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( so[h] == 5 ) sn[h] = (!val[x]) || sn[h];
^
user.cpp:70:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( so[h] == 6 ) sn[h] = !val[x];
^
user.cpp:74:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sn[h] = val[x];
^
user.cpp:45:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | Incorect | 0 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 436kb | OK | 10 |
| 5 | 0ms | 436kb | OK | 10 |
| 6 | 0ms | 432kb | OK | 10 |
| 7 | 0ms | 440kb | Incorect | 0 |
| 8 | 0ms | 432kb | OK | 10 |
| 9 | 0ms | 436kb | OK | 10 |
| 10 | 0ms | 440kb | OK | 10 |
| Punctaj total | 70 |