Pagini recente » Borderou de evaluare (job #1787649) | Borderou de evaluare (job #1833655) | Borderou de evaluare (job #2112988) | Borderou de evaluare (job #1311441) | Borderou de evaluare (job #2120401)
Borderou de evaluare (job #2120401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[sir[i]][i]++;
^
user.cpp:59:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez = fr[sir[p]][p];
^
user.cpp:65:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez = rez + x / 2 * (fr[ch][k - 1] + fr[flipch(ch)][k - 1]);
^
user.cpp:65:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez = rez + x / 2 * (fr[ch][k - 1] + fr[flipch(ch)][k - 1]);
^
user.cpp:67:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez += fr[ch][k - 1];
^
user.cpp:69:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez += fr[flipch(ch)][k - 1];
^
user.cpp:36: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:54:28: 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 | 24ms | 50416kb | Corect | 10 |
| 2 | 24ms | 50420kb | Corect | 5 |
| 3 | 24ms | 50416kb | Corect | 5 |
| 4 | 28ms | 50416kb | Corect | 5 |
| 5 | 116ms | 50432kb | Corect | 5 |
| 6 | 132ms | 50444kb | Corect | 5 |
| 7 | 148ms | 50456kb | Corect | 5 |
| 8 | 160ms | 50464kb | Corect | 5 |
| 9 | 28ms | 50428kb | Corect | 5 |
| 10 | 28ms | 50440kb | Corect | 5 |
| 11 | 28ms | 50428kb | Corect | 5 |
| 12 | 32ms | 50444kb | Corect | 5 |
| 13 | 144ms | 50584kb | Corect | 5 |
| 14 | 172ms | 50764kb | Corect | 5 |
| 15 | 204ms | 51100kb | Corect | 5 |
| 16 | 236ms | 51224kb | Corect | 5 |
| 17 | 260ms | 51272kb | Corect | 5 |
| 18 | 296ms | 51320kb | Corect | 5 |
| 19 | 308ms | 51348kb | Corect | 5 |
| Punctaj total | 100 |