Borderou de evaluare (job #2544381)
Raport evaluator
Compilare:
main.cpp: In function 'int cautbin2(long int, int, int)':
main.cpp:27:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(a[r+1]<=x && r+1<=n) r++; return r;
^~~~~
main.cpp:27:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(a[r+1]<=x && r+1<=n) r++; return r;
^~~~~~
main.cpp: In function 'int cautbin3(long int, int, int)':
main.cpp:37:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(a[r-1]>=x && r-1>=1) r--; return r;
^~~~~
main.cpp:37:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(a[r-1]>=x && r-1>=1) r--; return r;
^~~~~~
main.cpp: In function 'int cautbin1(long int, int, int)':
main.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 6ms | 131kb | Incorect | 0 | 0 |
5 | 25ms | 262kb | Incorect | 0 | 0 |
6 | 83ms | 786kb | Incorect | 0 |
7 | 117ms | 1310kb | Incorect | 0 | 0 |
8 | 114ms | 1310kb | Incorect | 0 |
9 | 128ms | 1310kb | Incorect | 0 |
10 | 131ms | 1310kb | Incorect | 0 |
Punctaj total | 0 |