Pagini recente » Borderou de evaluare (job #582578) | Borderou de evaluare (job #2638509) | Borderou de evaluare (job #1438793) | Borderou de evaluare (job #35350) | Borderou de evaluare (job #1698861)
Borderou de evaluare (job #1698861)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(1+d[word[i][0]][0]>d[word[i][len]][0]){
^
user.cpp:35:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(1+d[word[i][0]][0]>d[word[i][len]][0]){
^
user.cpp:36:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[word[i][len]][0]=1+d[word[i][0]][0];
^
user.cpp:36:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[word[i][len]][0]=1+d[word[i][0]][0];
^
user.cpp:37:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prec[i]=d[word[i][0]][1];
^
user.cpp:38:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[word[i][len]][1]=i;
^
user.cpp:21:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s", word[0]);
^
user.cpp:24:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s", word[i]);
^
user.cpp:49:13: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
print(j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | Corect | 10 |
2 | 0ms | 320kb | Corect | 10 |
3 | 0ms | 268kb | Corect | 10 |
4 | 0ms | 268kb | Corect | 10 |
5 | 0ms | 524kb | Corect | 10 |
6 | 4ms | 652kb | Corect | 10 |
7 | 0ms | 268kb | Corect | 10 |
8 | 4ms | 976kb | Corect | 10 |
9 | 0ms | 292kb | Corect | 10 |
10 | 0ms | 312kb | Corect | 10 |
Punctaj total | 100 |