Pagini recente » Borderou de evaluare (job #735588) | Borderou de evaluare (job #400259) | Borderou de evaluare (job #2746157) | Borderou de evaluare (job #1876199) | Borderou de evaluare (job #2094661)
Borderou de evaluare (job #2094661)
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);
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &Q, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 244kb | Time limit exceeded. | 0 |
2 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
4 | Depăşit | 244kb | Time limit exceeded. | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |