Pagini recente » Borderou de evaluare (job #612163) | Borderou de evaluare (job #3190120) | Borderou de evaluare (job #179126) | Borderou de evaluare (job #1574621) | Borderou de evaluare (job #1858434)
Borderou de evaluare (job #1858434)
Raport evaluator
Compilare:
user.cpp: In function ‘void cautbin(int)’:
user.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (b[mid]<x)
^
user.cpp:24:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (b[mid]>x)
^
user.cpp:26:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (b[mid]==x)
^
user.cpp: In function ‘int main()’:
user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator1.in", "r", stdin);
^
user.cpp:37:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator1.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 436kb | OK | 10 |
| 4 | 8ms | 592kb | OK | 10 |
| 5 | 44ms | 1136kb | OK | 10 |
| 6 | 48ms | 1176kb | OK | 10 |
| 7 | 48ms | 1212kb | OK | 10 |
| 8 | 48ms | 1208kb | OK | 10 |
| 9 | 48ms | 1212kb | OK | 10 |
| 10 | 48ms | 1208kb | OK | 10 |
| Punctaj total | 100 |