Pagini recente » Borderou de evaluare (job #237722) | Borderou de evaluare (job #3211287) | Borderou de evaluare (job #1054705) | Borderou de evaluare (job #2106757) | Borderou de evaluare (job #1223736)
Borderou de evaluare (job #1223736)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch(int, const int&)’:
user.cpp:30:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
middle = left + right >> 1;
^
user.cpp: In function ‘int main()’:
user.cpp:44:15: warning: unused variable ‘j’ [-Wunused-variable]
int N, i, j, k;
^
user.cpp:44:18: warning: unused variable ‘k’ [-Wunused-variable]
int N, i, j, k;
^
user.cpp:42:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heavymetal.in", "r", stdin);
^
user.cpp:43:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("heavymetal.out", "w", stdout);
^
user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:47:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &V[i].left, &V[i].right);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 24ms | 628kb | OK | 10 |
6 | 36ms | 856kb | OK | 10 |
7 | 60ms | 1152kb | OK | 10 |
8 | 72ms | 1324kb | OK | 10 |
9 | 80ms | 1440kb | OK | 10 |
10 | 88ms | 1436kb | OK | 10 |
Punctaj total | 100 |