Pagini recente » Borderou de evaluare (job #605619) | Borderou de evaluare (job #742775) | Cod sursa (job #700017) | Cod sursa (job #2652763) | Borderou de evaluare (job #1574354)
Borderou de evaluare (job #1574354)
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] != H)
^
user.cpp:56: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:57: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:62: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:63: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:64: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:67: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 | 512kb | OK | 10 |
2 | 0ms | 588kb | Incorect | 0 |
3 | 0ms | 984kb | OK | 10 |
4 | 4ms | 1344kb | OK | 10 |
5 | 4ms | 1444kb | OK | 10 |
6 | 28ms | 3676kb | OK | 10 |
7 | 80ms | 8372kb | OK | 10 |
8 | 184ms | 14132kb | OK | 10 |
9 | 336ms | 24600kb | OK | 10 |
10 | 352ms | 24596kb | OK | 10 |
Punctaj total | 90 |