Pagini recente » Borderou de evaluare (job #2592692) | Borderou de evaluare (job #1913257) | Borderou de evaluare (job #2604679) | Borderou de evaluare (job #1405364) | Borderou de evaluare (job #1445631)
Borderou de evaluare (job #1445631)
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:208: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:209: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:210:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:216: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:218: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:220: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:222: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:224: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:226:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:229: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 | 360kb | Primul numar corect | 1 |
| 2 | 0ms | 448kb | Primul numar corect | 1 |
| 3 | 0ms | 716kb | Primul numar corect | 1 |
| 4 | 8ms | 1664kb | Primul numar corect | 1 |
| 5 | 8ms | 2036kb | OK | 5 |
| 6 | 28ms | 2792kb | Primul numar corect | 1 |
| 7 | 0ms | 1128kb | OK | 5 |
| 8 | 0ms | 656kb | OK | 5 |
| 9 | 12ms | 2236kb | OK | 5 |
| 10 | 32ms | 4204kb | Primul numar corect | 1 |
| 11 | 48ms | 4204kb | Primul numar corect | 1 |
| 12 | 4ms | 4220kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 4ms | 4220kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 4ms | 4212kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 4ms | 4216kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 4ms | 4220kb | 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 | 27 |