Pagini recente » Borderou de evaluare (job #2741336) | Borderou de evaluare (job #1268071) | Borderou de evaluare (job #2826269) | Borderou de evaluare (job #1428118) | Borderou de evaluare (job #1721937)
Borderou de evaluare (job #1721937)
Raport evaluator
Compilare:
user.cpp: In function ‘int Compute(int, int, int)’:
user.cpp:41:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[x].y>=v[k].y)
^
user.cpp: In function ‘int main()’:
user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("photo.in","r",stdin);
^
user.cpp:66:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("photo.out","w",stdout);
^
user.cpp:68:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&a);
^
user.cpp:70:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
user.cpp: In function ‘int Compute(int, int, int)’:
user.cpp:58:62: warning: ‘up’ may be used uninitialized in this function [-Wmaybe-uninitialized]
answer=minimum(answer,1+Compute(left,right,up));
^
user.cpp: In function ‘int main()’:
user.cpp:77:35: warning: ‘which’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",Compute(1,n,which));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 10 |
2 | 0ms | 356kb | OK | 10 |
3 | 0ms | 400kb | OK | 10 |
4 | 12ms | 1996kb | OK | 10 |
5 | 20ms | 2108kb | OK | 10 |
6 | 8ms | 2312kb | OK | 10 |
7 | 16ms | 2756kb | OK | 10 |
8 | 20ms | 2780kb | OK | 10 |
9 | 8ms | 2764kb | OK | 10 |
10 | 116ms | 2756kb | OK | 10 |
Punctaj total | 100 |