Pagini recente » Borderou de evaluare (job #2015558) | Borderou de evaluare (job #3120185) | Borderou de evaluare (job #1688223) | Borderou de evaluare (job #1931154) | Borderou de evaluare (job #1302204)
Borderou de evaluare (job #1302204)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[1]]=1;
^
user.cpp:26:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(last[ch[i]]==0)
^
user.cpp:29:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[i]]=i;
^
user.cpp:34:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos=last[ch[i]];
^
user.cpp:43:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
last[ch[i]]=i;
^
user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&ch[1]);
^
user.cpp:17: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 | 216kb | Incorect | 0 |
2 | 0ms | 216kb | Incorect | 0 |
3 | 0ms | 216kb | Incorect | 0 |
4 | 0ms | 216kb | Incorect | 0 |
5 | 0ms | 220kb | Incorect | 0 |
6 | 0ms | 236kb | Incorect | 0 |
7 | 0ms | 216kb | Incorect | 0 |
8 | 0ms | 236kb | Incorect | 0 |
9 | 0ms | 236kb | Incorect | 0 |
10 | 0ms | 216kb | Incorect | 0 |
Punctaj total | 0 |