Borderou de evaluare (job #1566162)

Utilizator Andrei143Andrei Andrei Andrei143 Data 11 ianuarie 2016 20:26:13
Problema Calandrinon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[s[i]]==0) ^ user.cpp:25:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[s[i]]=i; ^ user.cpp:30:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] {if (v[s[i]]>0) ^ user.cpp:31:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[s[i]]=-v[s[i]]; ^ user.cpp:31:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[s[i]]=-v[s[i]]; ^ user.cpp:35:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[t]!=0) break; ^ user.cpp:36:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[t]<0) ^ user.cpp:37:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] {v[t]=-v[t]; ^ user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] {v[t]=-v[t]; ^ user.cpp:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (i=v[t]+1;v[t-30]>1;i++) ^ user.cpp:47:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[t]!=0) break; ^ user.cpp:48:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[t]<0) ^ user.cpp:51:8: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[t]=i; ^ user.cpp:52:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (i=v[t]-1;v[t-30]>1;i--) ^ user.cpp:63:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (v[t]<0) ^ user.cpp:69:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (v[s[++j]]<1&&j<n); ^ user.cpp:70:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbOK5
20ms412kbOK5
30ms384kbKilled by signal 11(SIGSEGV).0
40ms384kbKilled by signal 11(SIGSEGV).0
50ms380kbKilled by signal 11(SIGSEGV).0
60ms392kbKilled by signal 11(SIGSEGV).0
70ms380kbKilled by signal 11(SIGSEGV).0
80ms424kbIncorect0
90ms384kbKilled by signal 11(SIGSEGV).0
100ms388kbKilled by signal 11(SIGSEGV).0
1112ms488kbKilled by signal 11(SIGSEGV).0
1228ms488kbKilled by signal 11(SIGSEGV).0
134ms488kbKilled by signal 11(SIGSEGV).0
1412ms480kbKilled by signal 11(SIGSEGV).0
15184ms1360kbKilled by signal 11(SIGSEGV).0
16160ms1364kbKilled by signal 11(SIGSEGV).0
17Depăşit1364kbTime limit exceeded.0
1884ms1356kbKilled by signal 11(SIGSEGV).0
1912ms1396kbIncorect0
2032ms1360kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?