Pagini recente » Borderou de evaluare (job #710963) | Borderou de evaluare (job #1181466) | Borderou de evaluare (job #635941) | Borderou de evaluare (job #2269240) | Borderou de evaluare (job #2084204)
Borderou de evaluare (job #2084204)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[str[i]]++;
^
user.cpp:68:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[ch1][ch2]++;
^
user.cpp:68:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[ch1][ch2]++;
^
user.cpp:73:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[ch1][ch2] > 0) {
^
user.cpp:73:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[ch1][ch2] > 0) {
^
user.cpp:74:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add_Edge(1, i, fr[ch1][ch2]);
^
user.cpp:74:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add_Edge(1, i, fr[ch1][ch2]);
^
user.cpp:110:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[ch1].push_back(v[i - 2].back());
^
user.cpp:112:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[ch2].push_back(v[i - 2].back());
^
user.cpp:125:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(fout,"%d " ,sol[str[i]].back());
^
user.cpp:126:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[str[i]].pop_back();
^
user.cpp:54:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n, m;
^
user.cpp:55:20: warning: unused variable ‘ch’ [-Wunused-variable]
char ch1, ch2, ch;
^
user.cpp:58:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&m);
^
user.cpp:59:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,str + 1);
^
user.cpp:65:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%c %c " ,&ch1,&ch2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 616kb | Ok! | 10 |
2 | 0ms | 768kb | Ok! | 10 |
3 | 0ms | 1840kb | Ok! | 10 |
4 | 4ms | 3636kb | Ok! | 10 |
5 | 8ms | 4060kb | Ok! | 10 |
6 | 36ms | 4996kb | Ok! | 10 |
7 | 156ms | 7844kb | Ok! | 10 |
8 | 296ms | 10952kb | Ok! | 10 |
9 | 392ms | 13288kb | Ok! | 10 |
10 | 488ms | 15780kb | Ok! | 10 |
Punctaj total | 100 |