Pagini recente » Borderou de evaluare (job #744315) | Borderou de evaluare (job #2812877) | Borderou de evaluare (job #169323) | Borderou de evaluare (job #2802861) | Borderou de evaluare (job #1828281)
Borderou de evaluare (job #1828281)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee(int, int, int)’:
user.cpp:27:58: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (obstacle[xx][yy]==true||xx>n||yy>n&&xx<=0&&yy<=0)continue;
^
user.cpp: In function ‘int main()’:
user.cpp:44:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in","r",stdin);
^
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out","w",stdout);
^
user.cpp:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:47:93: 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 %d %d %d\n",&Tx,&Ty,&S1x,&S1y,&S2x,&S2y,&R1x,&R1y,&R2x,&R2y);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:52:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp: In function ‘int position(int, int, int, int)’:
user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 556kb | OK | 5 |
| 2 | 0ms | 652kb | OK | 5 |
| 3 | 0ms | 924kb | Primul numar corect | 1 |
| 4 | 8ms | 1984kb | OK | 5 |
| 5 | 8ms | 2352kb | Primul numar corect | 1 |
| 6 | 32ms | 3496kb | Primul numar corect | 1 |
| 7 | 0ms | 1336kb | OK | 5 |
| 8 | 0ms | 860kb | OK | 5 |
| 9 | 12ms | 2556kb | Primul numar corect | 1 |
| 10 | 40ms | 4940kb | OK | 5 |
| 11 | 52ms | 5076kb | OK | 5 |
| 12 | 140ms | 7428kb | OK | 5 |
| 13 | 144ms | 8168kb | OK | 5 |
| 14 | 176ms | 9240kb | OK | 5 |
| 15 | 140ms | 9388kb | Primul numar corect | 1 |
| 16 | 144ms | 8440kb | Primul numar corect | 1 |
| 17 | 108ms | 7700kb | OK | 5 |
| 18 | 200ms | 10152kb | OK | 5 |
| 19 | 120ms | 7036kb | OK | 5 |
| 20 | 188ms | 9452kb | OK | 5 |
| Punctaj total | 76 |