Pagini recente » Borderou de evaluare (job #1295452) | Borderou de evaluare (job #2950814) | Borderou de evaluare (job #3166993) | Borderou de evaluare (job #662358) | Borderou de evaluare (job #2643346)
Borderou de evaluare (job #2643346)
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: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 | Primele doua cerinte corecte! | 6 |
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 | Primele doua cerinte corecte! | 6 |
Punctaj total | 92 |