Pagini recente » Borderou de evaluare (job #1630555) | Borderou de evaluare (job #603947) | Borderou de evaluare (job #788530) | Borderou de evaluare (job #2909706) | Borderou de evaluare (job #1574333)
Borderou de evaluare (job #1574333)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:92:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(y.lin >= 1 && y.lin <= N && y.col >= 1 && y.col <= M && A[y.lin][y.col] != -1)
^
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
user.cpp:61: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:62:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x_0, &y_0); // NOD DE START
^
user.cpp:63:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &X, &Y); // NOD DE SOSIRE
^
user.cpp:66:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j = 1; j <= M; j++) scanf("%d", &A[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 524kb | OK | 10 |
2 | 0ms | 600kb | Incorect | 0 |
3 | 0ms | 996kb | OK | 10 |
4 | 4ms | 1356kb | OK | 10 |
5 | 4ms | 1576kb | OK | 10 |
6 | 32ms | 3688kb | OK | 10 |
7 | 88ms | 8384kb | OK | 10 |
8 | 204ms | 14144kb | OK | 10 |
9 | 336ms | 24608kb | OK | 10 |
10 | 360ms | 24600kb | OK | 10 |
Punctaj total | 90 |