Pagini recente » Borderou de evaluare (job #1263433) | Borderou de evaluare (job #1882228) | Borderou de evaluare (job #1854600) | Borderou de evaluare (job #115672) | Borderou de evaluare (job #2336849)
Borderou de evaluare (job #2336849)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:10: warning: array subscript has type 'char' [-Wchar-subscripts]
car[a][b] = car[b][a] = 1;
^
main.cpp:26:13: warning: array subscript has type 'char' [-Wchar-subscripts]
car[a][b] = car[b][a] = 1;
^
main.cpp:26:22: warning: array subscript has type 'char' [-Wchar-subscripts]
car[a][b] = car[b][a] = 1;
^
main.cpp:26:25: warning: array subscript has type 'char' [-Wchar-subscripts]
car[a][b] = car[b][a] = 1;
^
main.cpp:29:12: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[1][c] = 1;
^
main.cpp:32:21: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[i % 2][next] = 0;
^
main.cpp:34:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if (car[next][last] == 0)
^
main.cpp:34:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if (car[next][last] == 0)
^
main.cpp:35:30: warning: array subscript has type 'char' [-Wchar-subscripts]
add (dp[i % 2][next], dp[1 - i % 2][last]);
^
main.cpp:35:51: warning: array subscript has type 'char' [-Wchar-subscripts]
add (dp[i % 2][next], dp[1 - i % 2][last]);
^
main.cpp:39:26: warning: array subscript has type 'char' [-Wchar-subscripts]
add (sol, dp[n % 2][c]);
^
main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("nrcuv.in", "r", stdin);
^
main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("nrcuv.out", "w", stdout);
^
main.cpp:21:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n", &n, &m);
^
main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c %c\n", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 2ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 3ms | 131kb | OK | 5 |
| 13 | 3ms | 131kb | OK | 5 |
| 14 | 3ms | 131kb | OK | 5 |
| 15 | 3ms | 131kb | OK | 5 |
| 16 | 3ms | 131kb | OK | 5 |
| 17 | 4ms | 131kb | OK | 5 |
| 18 | 7ms | 131kb | OK | 5 |
| 19 | 7ms | 131kb | OK | 5 |
| 20 | 4ms | 131kb | OK | 5 |
| Punctaj total | 100 |