Pagini recente » Borderou de evaluare (job #703363) | Borderou de evaluare (job #2509726) | Borderou de evaluare (job #1225084) | Borderou de evaluare (job #1131705) | Borderou de evaluare (job #1589780)
Borderou de evaluare (job #1589780)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:9: warning: unused variable ‘logmax’ [-Wunused-variable]
int logmax=log2(n);
^
user.cpp:17:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:22:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++)scanf("%d ",&rmq[0][i]);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&poz1,&poz2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 284kb | OK | 10 | 10 |
3 | 0ms | 540kb | OK | 10 | 10 |
4 | 88ms | 3184kb | OK | 10 | 10 |
5 | 100ms | 3184kb | OK | 10 | 20 |
6 | 600ms | 3808kb | OK | 10 |
7 | 620ms | 5116kb | OK | 10 | 10 |
8 | 712ms | 6420kb | OK | 10 | 10 |
9 | 792ms | 6420kb | OK | 10 | 10 |
10 | 904ms | 6420kb | OK | 10 | 10 |
Punctaj total | 100 |