Pagini recente » Borderou de evaluare (job #1796401) | Borderou de evaluare (job #1194459) | Borderou de evaluare (job #3204635) | Borderou de evaluare (job #2416307) | Borderou de evaluare (job #1616666)
Borderou de evaluare (job #1616666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:67: warning: operation on ‘k’ may be undefined [-Wsequence-point]
v[++ k] = mat[i][j] = (v[k - 2] * i + v[k - 1] * j + 1) % 10;
^
user.cpp:28:67: warning: operation on ‘k’ may be undefined [-Wsequence-point]
user.cpp:34:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++ fLine[i][mat[i][j]];
^
user.cpp:35:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++ fCol[i][mat[j][i]];
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.in", "r", stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.out", "w", stdout);
^
user.cpp:20:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &N, &x, &y, &Q);
^
user.cpp:49:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %d %d\n", &q, &k, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | Incorect | 0 |
2 | 0ms | 704kb | Incorect | 0 |
3 | 0ms | 964kb | Incorect | 0 |
4 | 32ms | 3588kb | Incorect | 0 |
5 | 44ms | Depăşit | Memory limit exceeded. | 0 |
6 | 48ms | Depăşit | Memory limit exceeded. | 0 |
7 | 48ms | Depăşit | Memory limit exceeded. | 0 |
8 | 48ms | Depăşit | Memory limit exceeded. | 0 |
9 | 48ms | Depăşit | Memory limit exceeded. | 0 |
10 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |