Pagini recente » Borderou de evaluare (job #1643267) | Borderou de evaluare (job #2817277) | Borderou de evaluare (job #1156357) | Borderou de evaluare (job #13701) | Borderou de evaluare (job #2643347)
Borderou de evaluare (job #2643347)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;(1<<i)<=n;i++);
~~~~~~^~~
main.cpp:45:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=nr;i++){
~^~~~
main.cpp:53:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%d",aux);
^
main.cpp:13:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pesti.in","r",stdin);
^
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pesti.out","w",stdout);
^
main.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu%llu",&n,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 2ms | 131kb | OK! | 10 |
6 | 2ms | 131kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 2ms | 131kb | OK! | 10 |
9 | 2ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 100 |