Pagini recente » Borderou de evaluare (job #1792136) | Borderou de evaluare (job #2213160) | Borderou de evaluare (job #1144727) | Borderou de evaluare (job #2717193) | Borderou de evaluare (job #1828282)
Borderou de evaluare (job #1828282)
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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 556kb | OK | 5 |
2 | 0ms | 652kb | OK | 5 |
3 | 0ms | 920kb | OK | 5 |
4 | 8ms | 1980kb | OK | 5 |
5 | 8ms | 2348kb | Primul numar corect | 1 |
6 | 28ms | 3492kb | OK | 5 |
7 | 0ms | 1340kb | OK | 5 |
8 | 0ms | 860kb | OK | 5 |
9 | 12ms | 2556kb | OK | 5 |
10 | 40ms | 4948kb | OK | 5 |
11 | 48ms | 5080kb | OK | 5 |
12 | 140ms | 7432kb | OK | 5 |
13 | 144ms | 8180kb | OK | 5 |
14 | 176ms | 9244kb | OK | 5 |
15 | 136ms | 9388kb | Primul numar corect | 1 |
16 | 148ms | 8440kb | OK | 5 |
17 | 108ms | 7700kb | OK | 5 |
18 | 196ms | 10152kb | OK | 5 |
19 | 116ms | 7040kb | OK | 5 |
20 | 188ms | 9452kb | OK | 5 |
Punctaj total | 92 |