Pagini recente » Borderou de evaluare (job #2450831) | Borderou de evaluare (job #1087522) | Borderou de evaluare (job #1333386) | Borderou de evaluare (job #1643141) | Borderou de evaluare (job #2700325)
Borderou de evaluare (job #2700325)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tnia.in", "r", stdin);
^
main.cpp:66:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tnia.out", "w", stdout);
^
main.cpp:67:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:70:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:75:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:79:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &c, &d);
^
main.cpp: In function 'int BSearch(int, int, int)':
main.cpp:50:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid, ans;
^~~
main.cpp: In function 'int main()':
main.cpp:81:35: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid1 = BSearch(a, c, b) - 1;
^
main.cpp:82:35: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
int mid2 = BSearch(a, c, d) - 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Corect | 10 |
| 2 | 3ms | 131kb | Corect | 5 |
| 3 | 6ms | 131kb | Corect | 5 |
| 4 | 6ms | 131kb | Corect | 5 |
| 5 | 14ms | 393kb | Corect | 4 |
| 6 | 24ms | 786kb | Corect | 4 |
| 7 | 37ms | 1048kb | Corect | 4 |
| 8 | 47ms | 1310kb | Corect | 4 |
| 9 | 109ms | 131kb | Corect | 4 |
| 10 | 116ms | 131kb | Corect | 4 |
| 11 | 114ms | 131kb | Corect | 4 |
| 12 | 116ms | 131kb | Corect | 4 |
| 13 | 703ms | 1441kb | Time limit exceeded | 0 |
| 14 | 700ms | 1441kb | Time limit exceeded | 0 |
| 15 | 700ms | 1572kb | Time limit exceeded | 0 |
| 16 | 703ms | 1572kb | Time limit exceeded | 0 |
| 17 | 702ms | 1515kb | Time limit exceeded | 0 |
| 18 | 700ms | 1572kb | Time limit exceeded | 0 |
| 19 | 702ms | 1572kb | Time limit exceeded | 0 |
| Punctaj total | 57 |