Pagini recente » Cod sursa (job #62194) | Borderou de evaluare (job #2221760) | Cod sursa (job #608692) | Borderou de evaluare (job #1213711) | Borderou de evaluare (job #1574247)
Borderou de evaluare (job #1574247)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(y.lin >= 1 && y.lin <= N && y.col >= 1 && y.col <= M)
^
user.cpp:27: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:28: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:33: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:34: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:35: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:38: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 | 520kb | OK | 10 |
2 | 0ms | 596kb | OK | 10 |
3 | 0ms | 1048kb | OK | 10 |
4 | 4ms | 1576kb | OK | 10 |
5 | 4ms | 1368kb | OK | 10 |
6 | 28ms | 3676kb | OK | 10 |
7 | Depăşit | 37200kb | Time limit exceeded. | 0 |
8 | Depăşit | 38768kb | Time limit exceeded. | 0 |
9 | Depăşit | 24604kb | Time limit exceeded. | 0 |
10 | Depăşit | 24632kb | Time limit exceeded. | 0 |
Punctaj total | 60 |