Pagini recente » Borderou de evaluare (job #2897894) | Borderou de evaluare (job #277099) | Borderou de evaluare (job #1919592) | Borderou de evaluare (job #2894292) | Borderou de evaluare (job #1262774)
Borderou de evaluare (job #1262774)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &A[i][j]);
^
user.cpp:53:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nexts.S += A[nexts.X][nexts.Y];
^
user.cpp:53:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nexts.S += A[nexts.X][nexts.Y];
^
user.cpp:63:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nexts.S += A[nexts.X][nexts.Y];
^
user.cpp:63:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nexts.S += A[nexts.X][nexts.Y];
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in", "r", stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out", "w", stdout);
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:32:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i][j]);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 0ms | 292kb | OKAY! | 10 |
| Punctaj total | 10 |