Borderou de evaluare (job #2094638)

Utilizator inquisitorAnders inquisitor Data 26 decembrie 2017 12:42:21
Problema Undo2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int Find(int, std::vector<int>&)’: user.cpp:15:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; step < v.size() - 1; step <<= 1); ^ user.cpp:19: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:30:34: 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:31:36: 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:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:37: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
1Depăşit2744kbTime limit exceeded.0
2Depăşit2740kbTime limit exceeded.0
3Depăşit2744kbTime limit exceeded.0
4Depăşit2744kbTime limit exceeded.0
5Depăşit2744kbTime limit exceeded.0
6Depăşit2744kbTime limit exceeded.0
7Depăşit2744kbTime limit exceeded.0
8Depăşit2744kbTime limit exceeded.0
9Depăşit2740kbTime limit exceeded.0
10Depăşit2744kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?