Pagini recente » Borderou de evaluare (job #1024900) | Borderou de evaluare (job #1210656) | Borderou de evaluare (job #435273) | Borderou de evaluare (job #446692) | Borderou de evaluare (job #1567053)
Borderou de evaluare (job #1567053)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve(int, int)’:
user.cpp:31:30: warning: variable ‘a2’ set but not used [-Wunused-but-set-variable]
long long ans=-1,a2;
^
user.cpp:32:45: warning: unused variable ‘l’ [-Wunused-variable]
int i,j,mi=(st+dr)>>1,ls=0,ld=0,l;
^
user.cpp: In function ‘int main()’:
user.cpp:74:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j;
^
user.cpp:72:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.in","r",stdin);
^
user.cpp:73:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmap.out","w",stdout);
^
user.cpp:77:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:80:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&ve[i].first,&ve[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1904kb | Ok | 10 |
2 | 4ms | 1908kb | Ok | 10 |
3 | 52ms | 1988kb | Ok | 10 |
4 | 52ms | 1976kb | Ok | 10 |
5 | 172ms | 2132kb | Ok | 10 |
6 | 284ms | 2300kb | Ok | 10 |
7 | Depăşit | 2480kb | Time limit exceeded. | 0 |
8 | Depăşit | 2464kb | Time limit exceeded. | 0 |
9 | Depăşit | 2436kb | Time limit exceeded. | 0 |
10 | Depăşit | 2464kb | Time limit exceeded. | 0 |
Punctaj total | 60 |