Borderou de evaluare (job #2130979)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int sol2(int, long long int, char, int)’:
user.cpp:43:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return frecv[n][abs(c)];
^
user.cpp:44:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return frecv[n][abs(rev(c))];
^
user.cpp:46:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
long long norm=frecv[k][abs(c)];
^
user.cpp:47:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
long long inv=frecv[k][abs(rev(c))];
^
user.cpp: In function ‘int main()’:
user.cpp:82:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frecv[i][abs(c)]++;
^
user.cpp:75:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d ",&k,&q);
^
user.cpp:85:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | Corect | 10 |
2 | 0ms | 816kb | Corect | 5 |
3 | 0ms | 856kb | Corect | 5 |
4 | 0ms | 864kb | Corect | 5 |
5 | 32ms | 1176kb | Corect | 5 |
6 | 36ms | 1488kb | Corect | 5 |
7 | 44ms | 3724kb | Corect | 5 |
8 | 48ms | 3720kb | Corect | 5 |
9 | 0ms | 1076kb | Corect | 5 |
10 | 4ms | 1284kb | Corect | 5 |
11 | 4ms | 1032kb | Corect | 5 |
12 | 8ms | 1224kb | Corect | 5 |
13 | 72ms | 5780kb | Corect | 5 |
14 | 80ms | 9892kb | Corect | 5 |
15 | 92ms | 16076kb | Corect | 5 |
16 | 152ms | 20180kb | Corect | 5 |
17 | 220ms | 20184kb | Corect | 5 |
18 | 304ms | 20424kb | Corect | 5 |
19 | 316ms | 21456kb | Corect | 5 |
Punctaj total | 100 |