Pagini recente » Borderou de evaluare (job #1309062) | Borderou de evaluare (job #885267) | Borderou de evaluare (job #1515710) | Borderou de evaluare (job #1503969) | Borderou de evaluare (job #1849981)
Borderou de evaluare (job #1849981)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, int, int, int, int, int)’:
user.cpp:26:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (xx<=0||yy<=0&&xx>n||yy>n)
^
user.cpp: In function ‘int main()’:
user.cpp:43: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:44: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:45: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:48: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 | 0ms | 480kb | OK | 10 |
2 | 0ms | 520kb | OK | 10 |
3 | 0ms | 832kb | OK | 10 |
4 | 252ms | 4372kb | OK | 10 |
5 | 252ms | 4380kb | OK | 10 |
6 | 372ms | 5164kb | OK | 10 |
7 | 488ms | 5948kb | OK | 10 |
8 | 472ms | 8304kb | OK | 10 |
9 | Depăşit | 8276kb | Time limit exceeded. | 0 |
10 | 4ms | 1232kb | OK | 10 |
Punctaj total | 90 |