Borderou de evaluare (job #1634591)

Utilizator NaViUPB Calinescu Grigore Iosif NaVi Data 6 martie 2016 14:11:23
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘std::vector<long long int> kadane(std::vector<long long int>, int)’: user.cpp:16:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v.size(); ++i) { ^ user.cpp: In function ‘long long int sum(std::vector<long long int>&, int)’: user.cpp:50:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i; j < i + k; ++j) { ^ user.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j > v.size() - 1) { ^ user.cpp: In function ‘int main()’: user.cpp:89:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i <= vn.size(); ++i) { ^ user.cpp:92:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i <= vm.size(); ++i) { ^ user.cpp:74:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &N, &M); ^ user.cpp:79:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%lld", &eln); ^ user.cpp:84:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%lld", &elm); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit472kbTime limit exceeded.00
2Depăşit476kbTime limit exceeded.0
3Depăşit472kbTime limit exceeded.0
4Depăşit476kbTime limit exceeded.0
5Depăşit472kbTime limit exceeded.0
6Depăşit472kbTime limit exceeded.0
7Depăşit476kbTime limit exceeded.0
8Depăşit472kbTime limit exceeded.0
9Depăşit476kbTime limit exceeded.0
10Depăşit476kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?