Pagini recente » Borderou de evaluare (job #1164136) | Borderou de evaluare (job #1145979) | Borderou de evaluare (job #2951689) | Borderou de evaluare (job #479154) | Borderou de evaluare (job #1472306)
Borderou de evaluare (job #1472306)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:64:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:69:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &c, &x);
^
user.cpp:21:11: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[mid-1] == x) {
^
user.cpp:9:6: note: ‘mid’ was declared here
int mid, l = 0, r = n+1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 464kb | Incorect | 0 | 0 |
| 2 | 0ms | 468kb | Incorect | 0 | 0 |
| 3 | 0ms | 464kb | Incorect | 0 | 0 |
| 4 | 4ms | 472kb | Incorect | 0 | 0 |
| 5 | 28ms | 508kb | Incorect | 0 | 0 |
| 6 | 108ms | 660kb | Incorect | 0 |
| 7 | 180ms | 852kb | Incorect | 0 | 0 |
| 8 | 188ms | 852kb | Incorect | 0 |
| 9 | 196ms | 852kb | Incorect | 0 |
| 10 | Depăşit | 852kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |