Pagini recente » Borderou de evaluare (job #3314655) | Borderou de evaluare (job #3323989) | Borderou de evaluare (job #3314646) | Borderou de evaluare (job #2170576) | Borderou de evaluare (job #2094664)
Borderou de evaluare (job #2094664)
Raport evaluator
Compilare:
user.cpp: In function ‘int Find(int, std::vector<int>&)’:
user.cpp:16:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; step < v.size() - 1; step <<= 1);
^
user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((i + step < v.size()) && (v[i + step] <= idx) && (s[v[i + step]] == x))
^
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.in", "r", stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.out", "w", stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2568kb | Incorect | 0 |
| 2 | 4ms | 2572kb | Incorect | 0 |
| 3 | 4ms | 2572kb | Incorect | 0 |
| 4 | 4ms | 2572kb | Incorect | 0 |
| 5 | 4ms | 2572kb | Incorect | 0 |
| 6 | 4ms | 2576kb | Incorect | 0 |
| 7 | 4ms | 2572kb | Incorect | 0 |
| 8 | 4ms | 2572kb | Incorect | 0 |
| 9 | 4ms | 2568kb | Incorect | 0 |
| 10 | 4ms | 2572kb | Incorect | 0 |
| Punctaj total | 0 |