Pagini recente » Borderou de evaluare (job #842665) | Borderou de evaluare (job #2246380) | Borderou de evaluare (job #2244457) | Borderou de evaluare (job #842698) | Borderou de evaluare (job #2248055)
Borderou de evaluare (job #2248055)
Raport evaluator
Compilare:
user.cpp: In function ‘void setHist()’:
user.cpp:18:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A.length(); i++)
~~^~~~~~~~~~~~
user.cpp:20:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hist[A[i]]++;
^
user.cpp: In function ‘bool build()’:
user.cpp:53:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A.length(); i++)
~~^~~~~~~~~~~~
user.cpp: In function ‘void setHist()’:
user.cpp:16:11: warning: iteration 122 invokes undefined behavior [-Waggressive-loop-optimizations]
hist[i] = 0;
~~~~~~~~^~~
user.cpp:14:20: note: within this loop
for (int i = 0; i <= MAX_HIST; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |