Pagini recente » Borderou de evaluare (job #2384594) | Borderou de evaluare (job #2429268) | Borderou de evaluare (job #118727) | Borderou de evaluare (job #1138131) | Borderou de evaluare (job #2401175)
Borderou de evaluare (job #2401175)
Raport evaluator
Compilare:
main.cpp: In function 'int cifre(int)':
main.cpp:21:10: warning: statement has no effect [-Wunused-value]
for(i;nr;nr-=(nr&(-nr)), ++i);
^
main.cpp: In function 'int main()':
main.cpp:43:13: warning: unused variable 'l' [-Wunused-variable]
int l = 1;
^
main.cpp:27:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("margele.in","r",stdin);
^
main.cpp:28:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("margele.out","w",stdout);
^
main.cpp:30:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n,&k,&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 393kb | OK | 10 |
2 | 4ms | 393kb | OK | 10 |
3 | 40ms | 393kb | OK | 10 |
4 | 37ms | 393kb | OK | 10 |
5 | 26ms | 393kb | OK | 10 |
6 | 3ms | 393kb | OK | 10 |
7 | 76ms | 393kb | OK | 10 |
8 | 3ms | 393kb | OK | 10 |
9 | 332ms | 393kb | OK | 10 |
10 | 400ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 90 |