Pagini recente » Borderou de evaluare (job #1104821) | Borderou de evaluare (job #1392118) | Borderou de evaluare (job #1508112) | Borderou de evaluare (job #1667011) | Borderou de evaluare (job #1641536)
Borderou de evaluare (job #1641536)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int x=r[v[i]].x+auxx[v1[i]],y=r[v[i]].y+auxy[v1[i]];
^
user.cpp:35:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int x=r[v[i]].x+auxx[v1[i]],y=r[v[i]].y+auxy[v1[i]];
^
user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<char> >::value_type* {aka char*}’ [-Wformat=]
scanf("%d",&d[i][j]);
^
user.cpp:22:22: warning: unused variable ‘b’ [-Wunused-variable]
int p,p1=0,n,a=0,b=0,c=0,d1=0,i1=0,j1=0,i2=0,j2=0,m,maxx=0,maxx1=0,minn=0,minn1=0;
^
user.cpp:22:45: warning: unused variable ‘i2’ [-Wunused-variable]
int p,p1=0,n,a=0,b=0,c=0,d1=0,i1=0,j1=0,i2=0,j2=0,m,maxx=0,maxx1=0,minn=0,minn1=0;
^
user.cpp:22:50: warning: unused variable ‘j2’ [-Wunused-variable]
int p,p1=0,n,a=0,b=0,c=0,d1=0,i1=0,j1=0,i2=0,j2=0,m,maxx=0,maxx1=0,minn=0,minn1=0;
^
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.in","r",stdin);
^
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:30:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n-1;i++) scanf("%d %c",&v[i],&v1[i]);
^
user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1456kb | OK | 10 |
| 2 | 0ms | 1460kb | OK | 10 |
| 3 | 4ms | 1596kb | OK | 10 |
| 4 | 44ms | 2652kb | OK | 10 |
| 5 | 40ms | 2680kb | OK | 10 |
| 6 | 52ms | 2688kb | OK | 10 |
| 7 | 24ms | 1560kb | OK | 10 |
| 8 | 16ms | 1552kb | OK | 10 |
| 9 | 36ms | 2236kb | OK | 10 |
| 10 | 36ms | 2256kb | OK | 10 |
| Punctaj total | 100 |