Pagini recente » Borderou de evaluare (job #1931026) | Borderou de evaluare (job #264888) | Borderou de evaluare (job #1274727) | Borderou de evaluare (job #2285132) | Borderou de evaluare (job #1822560)
Borderou de evaluare (job #1822560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:102:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d\n%d",abs(x2-x1)+abs(y2-y1),ma[abs(x2-x1)][abs(y2-y1)]);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("poarta.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("poarta.out","w",stdout);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
user.cpp:22:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d%d",&vec[i].x,&vec[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 464kb | Incorrect number of paths | 3 |
| 2 | 0ms | 272kb | Okay | 10 |
| 3 | 0ms | 272kb | Okay | 10 |
| 4 | 0ms | 472kb | Incorrect distance | 0 |
| 5 | 0ms | 472kb | Incorrect number of paths | 3 |
| 6 | 0ms | 468kb | Incorrect distance | 0 |
| 7 | 0ms | 468kb | Incorrect number of paths | 3 |
| 8 | 0ms | 328kb | Okay | 10 |
| 9 | 0ms | 308kb | Okay | 10 |
| 10 | 0ms | 464kb | Incorrect number of paths | 3 |
| Punctaj total | 52 |