Pagini recente » Borderou de evaluare (job #2762006) | Borderou de evaluare (job #2970716) | Borderou de evaluare (job #1441579) | Borderou de evaluare (job #296804) | Borderou de evaluare (job #2497061)
Borderou de evaluare (job #2497061)
Raport evaluator
Compilare:
main.cpp: In function 'void update(unsigned int, int)':
main.cpp:62:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; idx <= n; idx += (idx & (~idx + 1)))
~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:108:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
main.cpp:110:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
main.cpp:116:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:120:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 262kb | Corect! | 10 | 10 |
2 | 5ms | 262kb | Corect! | 10 | 10 |
3 | 3ms | 131kb | Corect! | 10 | 10 |
4 | 3ms | 131kb | Corect! | 10 | 10 |
5 | 3ms | 131kb | Corect! | 10 | 10 |
6 | 4ms | 131kb | Corect! | 10 | 10 |
7 | 4ms | 262kb | Corect! | 10 | 10 |
8 | 155ms | 2490kb | Corect! | 10 | 30 |
9 | 110ms | 2490kb | Corect! | 10 |
10 | 137ms | 2490kb | Corect! | 10 |
Punctaj total | 100 |