Pagini recente » Borderou de evaluare (job #1342871) | Borderou de evaluare (job #2236447) | Borderou de evaluare (job #180243) | Borderou de evaluare (job #355520) | Borderou de evaluare (job #1919587)
Borderou de evaluare (job #1919587)
Raport evaluator
Compilare:
user.cpp: In function ‘int my_upper_bound(int*, unsigned int, int)’:
user.cpp:20:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (step = 1; step <= sz; step <<= 1);
^
user.cpp: In function ‘int my_lower_bound(int*, unsigned int, int)’:
user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (step = 1; step <= sz; step <<= 1);
^
user.cpp: In function ‘int main()’:
user.cpp:44:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.in", "r", stdin);
^
user.cpp:45:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.out", "w", stdout);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:27: 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 | 452kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 4ms | 532kb | OK | 10 |
5 | 32ms | 808kb | OK | 10 |
6 | 32ms | 824kb | OK | 10 |
7 | 36ms | 848kb | OK | 10 |
8 | 32ms | 848kb | OK | 10 |
9 | 36ms | 840kb | OK | 10 |
10 | 36ms | 848kb | OK | 10 |
Punctaj total | 100 |