Pagini recente » Borderou de evaluare (job #111433) | Borderou de evaluare (job #383597) | Borderou de evaluare (job #1150887) | Borderou de evaluare (job #2606384) | Borderou de evaluare (job #1734445)
Borderou de evaluare (job #1734445)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee()’:
user.cpp:30:53: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (a[xx][yy]>=k2||a[xx][yy]<=k1&&(sol[xx][yy]==-1||sol[xx][yy]+1<sol[X.f.f][X.f.s]))
^
user.cpp: In function ‘int main()’:
user.cpp:80:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vis.in","r",stdin);
^
user.cpp:81:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vis.out","w",stdout);
^
user.cpp:82:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d %d\n",&n,&k1,&k2,&x1,&Y1,&x2,&y2);
^
user.cpp:86:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4416kb | Incorect | 0 |
2 | 4ms | 4432kb | Incorect | 0 |
3 | 4ms | 4588kb | Incorect | 0 |
4 | 68ms | 6364kb | OK | 10 |
5 | 68ms | 6364kb | Incorect | 0 |
6 | 100ms | 6756kb | Incorect | 0 |
7 | 136ms | 7152kb | OK | 10 |
8 | 172ms | 8316kb | Incorect | 0 |
9 | 244ms | 8332kb | OK | 10 |
10 | 272ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |