Pagini recente » Cod sursa (job #165555) | Cod sursa (job #413142) | Cod sursa (job #1502136) | Cod sursa (job #2362001) | Borderou de evaluare (job #1256062)
Borderou de evaluare (job #1256062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nextt[n][s[n]]=n;
^
user.cpp:33:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nextt[i][s[i]]=i;
^
user.cpp:44:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sp-=subsir[nextt[i+1][s[i]]];
^
user.cpp:48:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ap[s[i]] == 0) {
^
user.cpp:50:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[s[i]]=1;
^
user.cpp:53:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sum<cop) {
^
user.cpp:59:34: warning: variable ‘cp’ set but not used [-Wunused-but-set-variable]
int pz=nextt[1][car[j]], cp=0, ta=0;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 928kb | OK | 10 |
| 2 | 0ms | 924kb | OK | 10 |
| 3 | 4ms | 932kb | OK | 10 |
| 4 | 88ms | 932kb | Incorect | 0 |
| 5 | 0ms | 908kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 896kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 904kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 912kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 896kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 896kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |