Pagini recente » Borderou de evaluare (job #888031) | Borderou de evaluare (job #2326333) | Borderou de evaluare (job #1637417) | Borderou de evaluare (job #2902688) | Borderou de evaluare (job #1654307)
Borderou de evaluare (job #1654307)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautbin(int)’:
user.cpp:11:66: warning: unused variable ‘poz’ [-Wunused-variable]
int st = ind, dr = ind + n - 1, mid, Max = 0, y = a[st - 1], poz = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp:46:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &ind, &sum);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 4ms | 444kb | OK | 10 |
4 | 8ms | 448kb | OK | 10 |
5 | 8ms | 444kb | OK | 10 |
6 | 8ms | 456kb | OK | 10 |
7 | 8ms | 496kb | OK | 10 |
8 | 12ms | 524kb | OK | 10 |
9 | 12ms | 540kb | OK | 10 |
10 | 12ms | 552kb | OK | 10 |
Punctaj total | 100 |