Pagini recente » Borderou de evaluare (job #472330) | Borderou de evaluare (job #984004) | Borderou de evaluare (job #314418) | Borderou de evaluare (job #10572) | Borderou de evaluare (job #1697561)
Borderou de evaluare (job #1697561)
Raport evaluator
Compilare:
user.cpp: In function ‘int cuibaresc(cuib, cuib)’:
user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.t==0&&b.t==0)
^
user.cpp:23:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.t==1&&b.t==1)
^
user.cpp: In function ‘int main()’:
user.cpp:51:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i].t);
^
user.cpp: In function ‘int cuibaresc(cuib, cuib)’:
user.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuiburi.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuiburi.out","w",stdout);
^
user.cpp:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].t);
^
user.cpp:53:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld",&v[i].lx,&v[i].ly,&v[i].rx,&v[i].ry);
^
user.cpp:57:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&v[i].x,&v[i].y,&v[i].r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 4ms | 324kb | OK | 10 |
6 | 16ms | 360kb | OK | 10 |
7 | 52ms | 424kb | OK | 10 |
8 | 52ms | 424kb | OK | 10 |
9 | 52ms | 428kb | OK | 10 |
10 | 48ms | 420kb | OK | 10 |
Punctaj total | 100 |