Pagini recente » Borderou de evaluare (job #245764) | Cod sursa (job #1965795) | Cod sursa (job #3181904) | Borderou de evaluare (job #1761723) | Borderou de evaluare (job #1574228)
Borderou de evaluare (job #1574228)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57: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:23: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:24: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:29: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:30: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:31: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:34: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 | 588kb | OK | 10 |
3 | 0ms | 968kb | OK | 10 |
4 | 4ms | 1420kb | OK | 10 |
5 | 4ms | 1336kb | OK | 10 |
6 | 28ms | 3568kb | OK | 10 |
7 | 236ms | 19968kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 312ms | 21528kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 384ms | 23876kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 392ms | 23880kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 60 |