Pagini recente » Borderou de evaluare (job #1216714) | Borderou de evaluare (job #945985) | Borderou de evaluare (job #171561) | Borderou de evaluare (job #2769539) | Borderou de evaluare (job #1574012)
Borderou de evaluare (job #1574012)
Raport evaluator
Compilare:
user.cpp: In member function ‘int SequenceCounter::LowestIndexWithValue(int) const’:
user.cpp:72:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (0 <= next_index && next_index < num_primes_.size() && num_primes_[next_index] >= value) {
^
user.cpp: In member function ‘int SequenceCounter::LargestIndexWithValue(int) const’:
user.cpp:84:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (0 <= next_index && next_index < num_primes_.size() && num_primes_[next_index] <= value) {
^
user.cpp: In member function ‘void SequenceCounter::LoadConfiguration()’:
user.cpp:17:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &num_elements, &desired_primes_);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &element);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 10 |
2 | 0ms | 284kb | OK | 10 | 10 |
3 | 0ms | 288kb | OK | 10 | 10 |
4 | 4ms | 392kb | OK | 10 | 10 |
5 | 24ms | 528kb | OK | 10 | 20 |
6 | 36ms | 780kb | OK | 10 |
7 | 40ms | 780kb | OK | 10 | 40 |
8 | 44ms | 780kb | OK | 10 |
9 | 48ms | 780kb | OK | 10 |
10 | 48ms | 776kb | OK | 10 |
Punctaj total | 100 |