Pagini recente » Borderou de evaluare (job #1188715) | Statistici Bondane Bogdan (bughy) | Cod sursa (job #2020) | Cod sursa (job #2390835) | Borderou de evaluare (job #1988983)
Borderou de evaluare (job #1988983)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
combinations[i][j] = combinations[i-1][j] + combinations[i-1][j-1];
^
user.cpp:65:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
combinations[i][j] = combinations[i-1][j] + combinations[i-1][j-1];
^
user.cpp:65:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
combinations[i][j] = combinations[i-1][j] + combinations[i-1][j-1];
^
user.cpp:77:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
multiply(combinations[i][t], aux);
^
user.cpp:77:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
multiply(combinations[i][t], aux);
^
user.cpp:78:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
addUp(d[i][j], aux); }
^
user.cpp:78:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
addUp(d[i][j], aux); }
^
user.cpp:82:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
addUp(answer, d[n][j]);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.in", "r", stdin);
^
user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard2.out", "w", stdout);
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 480kb | OK | 5 |
| 2 | 0ms | 484kb | OK | 5 |
| 3 | 0ms | 488kb | OK | 5 |
| 4 | 0ms | 492kb | OK | 5 |
| 5 | 0ms | 500kb | OK | 5 |
| 6 | 0ms | 548kb | OK | 5 |
| 7 | 0ms | 560kb | OK | 5 |
| 8 | 0ms | 588kb | OK | 5 |
| 9 | 0ms | 620kb | OK | 5 |
| 10 | 4ms | 648kb | OK | 5 |
| 11 | 0ms | 708kb | OK | 5 |
| 12 | 16ms | 760kb | OK | 5 |
| 13 | 28ms | 800kb | OK | 5 |
| 14 | 28ms | 828kb | OK | 5 |
| 15 | 48ms | 860kb | OK | 5 |
| 16 | 4ms | 884kb | OK | 5 |
| 17 | 0ms | 892kb | OK | 5 |
| 18 | Depăşit | 868kb | Time limit exceeded. | 0 |
| 19 | 44ms | 900kb | OK | 5 |
| 20 | Depăşit | 864kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |