Borderou de evaluare (job #1634618)

Utilizator NaViUPB Calinescu Grigore Iosif NaVi Data 6 martie 2016 14:13:35
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ăşit460kbTime limit exceeded.00
2Depăşit460kbTime limit exceeded.0
3Depăşit464kbTime limit exceeded.0
4Depăşit464kbTime limit exceeded.0
5Depăşit460kbTime limit exceeded.0
6Depăşit460kbTime limit exceeded.0
7Depăşit460kbTime limit exceeded.0
8Depăşit460kbTime limit exceeded.0
9Depăşit464kbTime limit exceeded.0
10Depăşit468kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?