Pagini recente » Borderou de evaluare (job #2573949) | Borderou de evaluare (job #97492) | Borderou de evaluare (job #2062190) | Borderou de evaluare (job #752933) | Borderou de evaluare (job #2483109)
Borderou de evaluare (job #2483109)
Raport evaluator
Compilare:
main.cpp: In function 'int binarySearch(int, vi&)':
main.cpp:68:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m = l + r >> 1;
~~^~~
main.cpp: In function 'Matrix mult(Matrix, Matrix)':
main.cpp:87:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); ++i) {
~~^~~~~~~~~~
main.cpp:88:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b[0].size(); ++j) {
~~^~~~~~~~~~~~~
main.cpp:89:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < a[0].size(); ++k) {
~~^~~~~~~~~~~~~
main.cpp: In function 'void update(int, int)':
main.cpp:103:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(;p<MAXN;p+=p&-p)aib[p]+=v;return;
^~~
main.cpp:103:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(;p<MAXN;p+=p&-p)aib[p]+=v;return;
^~~~~~
main.cpp: In function 'int query(int)':
main.cpp:107:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(;p;p-=p&-p)ret+=aib[p];return ret;
^~~
main.cpp:107:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(;p;p-=p&-p)ret+=aib[p];return ret;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:13:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:115:9: note: in expansion of macro 'FO'
FO(bignumber);
^~
main.cpp:13:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:115:9: note: in expansion of macro 'FO'
FO(bignumber);
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 3ms | 131kb | OK | 5 |
5 | 4ms | 262kb | OK | 5 |
6 | 5ms | 262kb | OK | 5 |
7 | 27ms | 786kb | OK | 5 |
8 | 29ms | 917kb | OK | 5 |
9 | 32ms | 917kb | OK | 5 |
10 | 35ms | 917kb | OK | 5 |
11 | 44ms | 1310kb | OK | 5 |
12 | 58ms | 1572kb | OK | 5 |
13 | 111ms | 2646kb | OK | 5 |
14 | 132ms | 4345kb | OK | 5 |
15 | 174ms | 5263kb | OK | 5 |
16 | 233ms | 6320kb | OK | 5 |
17 | 421ms | 11300kb | OK | 5 |
18 | 447ms | 11038kb | OK | 5 |
19 | 458ms | 11038kb | OK | 5 |
20 | 451ms | 11067kb | OK | 5 |
Punctaj total | 100 |