Pagini recente » Borderou de evaluare (job #2688548) | Borderou de evaluare (job #2688848) | Borderou de evaluare (job #2415843) | Borderou de evaluare (job #2558297) | Borderou de evaluare (job #2127949)
Borderou de evaluare (job #2127949)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve2(int, long long int, char, bool)’:
user.cpp:47:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return sp[pos][get(ch)];
^
user.cpp:48:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return sp[pos][get(change(ch))];
^
user.cpp:51:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ll cnt0 = sp[k][get(ch)], cnt1 = sp[k][get(change(ch))];
^
user.cpp:51:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ll cnt0 = sp[k][get(ch)], cnt1 = sp[k][get(change(ch))];
^
user.cpp: In function ‘int main()’:
user.cpp:82:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sp[i][get(str[i])]++;
^
user.cpp:77:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&k,&q);
^
user.cpp:78: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:86:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lld " ,&pos);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1264kb | Corect | 10 |
| 2 | 0ms | 1260kb | Corect | 5 |
| 3 | 0ms | 1320kb | Corect | 5 |
| 4 | 0ms | 1328kb | Corect | 5 |
| 5 | 36ms | 3468kb | Corect | 5 |
| 6 | 40ms | 3468kb | Corect | 5 |
| 7 | 44ms | 3468kb | Corect | 5 |
| 8 | 48ms | 3476kb | Corect | 5 |
| 9 | 4ms | 3464kb | Corect | 5 |
| 10 | 4ms | 3472kb | Corect | 5 |
| 11 | 4ms | 3464kb | Corect | 5 |
| 12 | 8ms | 3472kb | Corect | 5 |
| 13 | 84ms | 7584kb | Corect | 5 |
| 14 | 96ms | 11692kb | Corect | 5 |
| 15 | 112ms | 21968kb | Corect | 5 |
| 16 | 164ms | 26076kb | Corect | 5 |
| 17 | 228ms | 28132kb | Corect | 5 |
| 18 | 308ms | 28132kb | Corect | 5 |
| 19 | 324ms | 29476kb | Corect | 5 |
| Punctaj total | 100 |