Pagini recente » Borderou de evaluare (job #2275441) | Borderou de evaluare (job #1815840) | Borderou de evaluare (job #2104495) | Cod sursa (job #3001703) | Borderou de evaluare (job #1867349)
Borderou de evaluare (job #1867349)
Raport evaluator
Compilare:
user.cpp: In function ‘int read(std::vector<char>&, bool*)’:
user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[ch]==0)
^
user.cpp:17:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[ch]=1;
^
user.cpp: In function ‘bool Fact2(std::vector<char>&)’:
user.cpp:40:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans=((conf&(1<<lg[V[pos]]))>0);
^
user.cpp: In function ‘int main()’:
user.cpp:89:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f1[ch]!=f2[ch])
^
user.cpp:89:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f1[ch]!=f2[ch])
^
user.cpp:93:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f1[ch]==1){
^
user.cpp:94:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
lg[ch]=cnt;
^
user.cpp:70:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,cnt1,cnt2,cnt;
^
user.cpp:74:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 420kb | OK | 10 |
5 | 4ms | 424kb | OK | 10 |
6 | 0ms | 420kb | OK | 10 |
7 | 0ms | 416kb | OK | 10 |
8 | 0ms | 420kb | OK | 10 |
9 | 0ms | 420kb | OK | 10 |
10 | 0ms | 420kb | OK | 10 |
Punctaj total | 100 |