Pagini recente » Borderou de evaluare (job #1179101) | Borderou de evaluare (job #1418209) | Borderou de evaluare (job #2710421) | Borderou de evaluare (job #157206) | Borderou de evaluare (job #1604048)
Borderou de evaluare (job #1604048)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d", &a[i][j]);
^
user.cpp:30:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[2][j] < d[2][mind1[2]]) {
^
user.cpp:35:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[2][j] < d[2][mind2[2]]) {
^
user.cpp:47:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][j] += d[i - 1][mind1[i - 1]];
^
user.cpp:50:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][j] += d[i - 1][mind2[i - 1]];
^
user.cpp:53:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[i][j] < d[i][mind1[i]]) {
^
user.cpp:58:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (d[i][j] < d[i][mind2[i]]) {
^
user.cpp:66:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf ("%d\n", d[N][mind1[N]] + a[N][M]);
^
user.cpp:69:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf ("%d\n", a[N][M] + d[N][mind2[N]]);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacusta.in", "r", stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacusta.out", "w", stdout);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &M);
^
user.cpp:19:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 620kb | Incorect | 0 | 0 |
2 | 8ms | 552kb | Incorect | 0 |
3 | 0ms | 356kb | OK | 10 |
4 | 0ms | 352kb | OK | 10 | 30 |
5 | 0ms | 416kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 0ms | 336kb | Incorect | 0 | 0 |
8 | 0ms | 404kb | Incorect | 0 |
9 | 0ms | 412kb | Incorect | 0 |
10 | 12ms | 588kb | Incorect | 0 |
Punctaj total | 30 |