Borderou de evaluare (job #2467339)
Raport evaluator
Compilare:
main.cpp: In function 'int substrOfSum(std::vector<int>, int, int)':
main.cpp:32:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = firstIndex; i < v.size(); i++) {
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:79:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (index < trav.size()) {
~~~~~~^~~~~~~~~~~~~
main.cpp:68:6: warning: unused variable 'currentNode' [-Wunused-variable]
int currentNode = 1;
^~~~~~~~~~~
main.cpp:56:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &nodesNo, &sum);
^
main.cpp:62:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &p, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 4ms | 262kb | Incorect | 0 |
3 | 49ms | 2879kb | Incorect | 0 |
4 | 475ms | 20959kb | Incorect | 0 |
5 | 1143ms | 41529kb | Incorect | 0 |
6 | 1502ms | 54898kb | Time limit exceeded | 0 |
7 | 1500ms | 63029kb | Time limit exceeded | 0 |
8 | 1503ms | 66596kb | Time limit exceeded | 0 |
9 | 1501ms | 69173kb | Time limit exceeded | 0 |
10 | 1500ms | 69185kb | Time limit exceeded | 0 |
Punctaj total | 0 |