Pagini recente » Borderou de evaluare (job #1789294) | Borderou de evaluare (job #336966) | Borderou de evaluare (job #1568869) | Borderou de evaluare (job #2239425) | Borderou de evaluare (job #1828278)
Borderou de evaluare (job #1828278)
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:39: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:40: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:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:42: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:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:47:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 548kb | Primul numar corect | 1 |
2 | 0ms | 640kb | OK | 5 |
3 | 0ms | 916kb | Primul numar corect | 1 |
4 | 8ms | 1964kb | OK | 5 |
5 | 8ms | 2336kb | Primul numar corect | 1 |
6 | 28ms | 3484kb | OK | 5 |
7 | 0ms | 1324kb | Primul numar corect | 1 |
8 | 0ms | 848kb | Primul numar corect | 1 |
9 | 12ms | 2540kb | Primul numar corect | 1 |
10 | 40ms | 4932kb | OK | 5 |
11 | 52ms | 5076kb | OK | 5 |
12 | 144ms | 7424kb | OK | 5 |
13 | 144ms | 8168kb | OK | 5 |
14 | 176ms | 9232kb | OK | 5 |
15 | 144ms | 9380kb | Primul numar corect | 1 |
16 | 144ms | 8428kb | Primul numar corect | 1 |
17 | 108ms | 7696kb | OK | 5 |
18 | 200ms | 10152kb | OK | 5 |
19 | 120ms | 7028kb | Primul numar corect | 1 |
20 | 188ms | 9448kb | OK | 5 |
Punctaj total | 64 |