Pagini recente » Borderou de evaluare (job #3257786) | Borderou de evaluare (job #541184) | Borderou de evaluare (job #2982744) | Borderou de evaluare (job #801001) | Borderou de evaluare (job #421509)
Borderou de evaluare (job #421509)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:36:28: error: 'memset' was not declared in this scope
memset(B, INF, sizeof B);
^
main.cpp:64:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(A[i][j] == A[ii][jj] && B[i][j] < B[ii][jj] || (A[ii][jj] == 0 && A[i][j] == 1))
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:18:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N, &M, &T);
^
main.cpp:24:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &c);
^
main.cpp: In function 'void solve()':
main.cpp:31:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &xi, &yi, &xf, &yf);
^
main.cpp: In function 'int main()':
main.cpp:89:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","rt",stdin);
^
main.cpp:90:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","wt",stdout);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 636ms | 4380kb | OK! | 10 |
2 | Depăşit | 4592kb | Time limit exceeded. | 0 |
3 | Depăşit | 5500kb | Time limit exceeded. | 0 |
4 | Depăşit | 6540kb | Time limit exceeded. | 0 |
5 | Depăşit | 8800kb | Time limit exceeded. | 0 |
6 | Depăşit | 9272kb | Time limit exceeded. | 0 |
7 | Depăşit | 9596kb | Time limit exceeded. | 0 |
8 | Depăşit | 9240kb | Time limit exceeded. | 0 |
9 | Depăşit | 9280kb | Time limit exceeded. | 0 |
10 | Depăşit | 9956kb | Time limit exceeded. | 0 |
Punctaj total | 0 |