Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1822563)
| Utilizator | Data | 5 decembrie 2016 09:34:14 | |
|---|---|---|---|
| Problema | Poarta | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 52 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:88: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 | 480kb | Incorrect number of paths | 3 |
| 2 | 0ms | 276kb | Okay | 10 |
| 3 | 0ms | 280kb | Okay | 10 |
| 4 | 0ms | 480kb | Incorrect distance | 0 |
| 5 | 0ms | 480kb | Incorrect number of paths | 3 |
| 6 | 0ms | 480kb | Incorrect distance | 0 |
| 7 | 0ms | 480kb | Incorrect number of paths | 3 |
| 8 | 0ms | 328kb | Okay | 10 |
| 9 | 0ms | 316kb | Okay | 10 |
| 10 | 0ms | 472kb | Incorrect number of paths | 3 |
| Punctaj total | 52 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
