Pagini recente » Borderou de evaluare (job #2585812) | Borderou de evaluare (job #1352406) | Borderou de evaluare (job #3290705) | Borderou de evaluare (job #2150968) | Borderou de evaluare (job #2497054)
Borderou de evaluare (job #2497054)
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 | 4ms | 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 | 119ms | 2490kb | Corect! | 10 | 0 |
9 | 303ms | 2097kb | Time limit exceeded | 0 |
10 | 97ms | 2490kb | Corect! | 10 |
Punctaj total | 70 |