Pagini recente » Borderou de evaluare (job #2317103) | Borderou de evaluare (job #2942617) | Borderou de evaluare (job #638620) | Borderou de evaluare (job #864757) | Borderou de evaluare (job #2531075)
Borderou de evaluare (job #2531075)
Raport evaluator
Compilare:
main.cpp: In function 'int src(int)':
main.cpp:25:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
main.cpp:26:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (to + step <= n && p[to+step].val <= val)
~~~~~~~~~~~~~~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:56:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.in", "r", stdin);
^
main.cpp:57:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.out", "w", stdout);
^
main.cpp:59:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:61:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 262kb | OK | 10 |
| 2 | 4ms | 393kb | OK | 10 |
| 3 | 5ms | 786kb | OK | 10 |
| 4 | 42ms | 3670kb | OK | 10 |
| 5 | 81ms | 6291kb | OK | 10 |
| 6 | 96ms | 6422kb | OK | 10 |
| 7 | 291ms | 13762kb | OK | 10 |
| 8 | 311ms | 14286kb | OK | 10 |
| 9 | 214ms | 11665kb | OK | 10 |
| 10 | 312ms | 14417kb | OK | 10 |
| Punctaj total | 100 |