Pagini recente » Borderou de evaluare (job #743009) | Borderou de evaluare (job #3169562) | Borderou de evaluare (job #1416866) | Borderou de evaluare (job #2412528) | Borderou de evaluare (job #1445626)
Borderou de evaluare (job #1445626)
Raport evaluator
Compilare:
user.cpp: In function ‘void umple()’:
user.cpp:34:13: warning: unused variable ‘i’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp:34:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:203: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:204: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:205:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:211:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&t.x,&t.y);
^
user.cpp:213:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&s1.y,&s1.x);
^
user.cpp:215:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&s2.y,&s2.x);
^
user.cpp:217:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&r1.y,&r1.x);
^
user.cpp:219:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&r2.y,&r2.x);
^
user.cpp:221:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:224:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&aux.y,&aux.x);
^
user.cpp: In function ‘void cozi()’:
user.cpp:135:11: warning: array subscript is above array bounds [-Warray-bounds]
dist[2][r2.y][r2.x]=0;
^
user.cpp:166:56: warning: array subscript is above array bounds [-Warray-bounds]
if(inter(x-1,y) && a[y][x-1]!='o' && dist[2][y][x]+1<dist[2][y][x-1]){
^
user.cpp:166:72: warning: array subscript is above array bounds [-Warray-bounds]
if(inter(x-1,y) && a[y][x-1]!='o' && dist[2][y][x]+1<dist[2][y][x-1]){
^
user.cpp:167:39: warning: array subscript is above array bounds [-Warray-bounds]
dist[2][y][x-1]=dist[2][y][x]+1;
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 356kb | Primul numar corect | 1 |
| 2 | 0ms | 440kb | Primul numar corect | 1 |
| 3 | 0ms | 712kb | Primul numar corect | 1 |
| 4 | 8ms | 1660kb | Primul numar corect | 1 |
| 5 | 8ms | 2032kb | Primul numar corect | 1 |
| 6 | 28ms | 2788kb | Primul numar corect | 1 |
| 7 | 0ms | 1128kb | OK | 5 |
| 8 | 0ms | 656kb | OK | 5 |
| 9 | 12ms | 2232kb | OK | 5 |
| 10 | 32ms | 4200kb | Primul numar corect | 1 |
| 11 | 44ms | 4196kb | Primul numar corect | 1 |
| 12 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 4ms | 4212kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 23 |