Pagini recente » Cod sursa (job #17848) | Borderou de evaluare (job #1321848) | Borderou de evaluare (job #1583139) | Borderou de evaluare (job #2626691) | Borderou de evaluare (job #1577956)
Borderou de evaluare (job #1577956)
Raport evaluator
Compilare:
user.cpp: In function ‘int Solve(int, int)’:
user.cpp:45:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[car]=1-val[car];
^
user.cpp:45:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[car]=1-val[car];
^
user.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++)
^
user.cpp:45:31: warning: ‘car’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val[car]=1-val[car];
^
user.cpp:45:31: warning: ‘car’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:45:31: warning: ‘car’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:45:31: warning: ‘car’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:45:31: warning: ‘car’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:17:10: note: ‘car’ was declared here
char car;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 464kb | Incorect | 0 |
| 3 | 0ms | 460kb | Incorect | 0 |
| 4 | 0ms | 460kb | Incorect | 0 |
| 5 | 0ms | 460kb | OK | 10 |
| 6 | 0ms | 464kb | OK | 10 |
| 7 | 0ms | 460kb | OK | 10 |
| 8 | 0ms | 468kb | OK | 10 |
| 9 | 0ms | 468kb | OK | 10 |
| 10 | 0ms | 464kb | OK | 10 |
| Punctaj total | 70 |