Pagini recente » Borderou de evaluare (job #1487430) | Borderou de evaluare (job #730056) | Borderou de evaluare (job #1233581) | Borderou de evaluare (job #1915872) | Borderou de evaluare (job #1302202)
Borderou de evaluare (job #1302202)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[1]]=1;
^
user.cpp:25:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(last[ch[i]]==0)
^
user.cpp:28:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[i]]=i;
^
user.cpp:33:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos=last[ch[i]];
^
user.cpp:42:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[i]]=i;
^
user.cpp:15:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&ch[n]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | Incorect | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 4ms | 292kb | Incorect | 0 |
4 | 4ms | 288kb | Incorect | 0 |
5 | 4ms | 292kb | Incorect | 0 |
6 | 8ms | 384kb | Incorect | 0 |
7 | 16ms | 480kb | Incorect | 0 |
8 | 36ms | 728kb | Incorect | 0 |
9 | 36ms | 720kb | Incorect | 0 |
10 | 36ms | 728kb | Incorect | 0 |
Punctaj total | 0 |