Pagini recente » Borderou de evaluare (job #1524415) | Borderou de evaluare (job #679232) | Borderou de evaluare (job #2910984) | Borderou de evaluare (job #905595) | Borderou de evaluare (job #1415551)
Borderou de evaluare (job #1415551)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:62: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(fout, "%lld\n", binary_search (v, left, right, k, n));
^
user.cpp:74:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%lld", &n);
^
user.cpp:75:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%lld", &k);
^
user.cpp:77:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 8ms | 596kb | OK | 10 |
5 | 24ms | 596kb | OK | 10 |
6 | 44ms | 784kb | OK | 10 |
7 | 52ms | 784kb | OK | 10 |
8 | 64ms | 1048kb | OK | 10 |
9 | 68ms | 1048kb | OK | 10 |
10 | 68ms | 1048kb | OK | 10 |
Punctaj total | 100 |