Pagini recente » Borderou de evaluare (job #2766180) | Borderou de evaluare (job #202136) | Borderou de evaluare (job #2586050) | Borderou de evaluare (job #1437304) | Borderou de evaluare (job #1708629)
Borderou de evaluare (job #1708629)
Raport evaluator
Compilare:
user.cpp: In member function ‘void arborel::update(int, int)’:
user.cpp:23:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; p<v.size(); p+=(p&(-p)) ) v[p] += add;
^
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:65:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i1<a[Left].v.size() && i2<a[Right].v.size() )
^
user.cpp:65:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i1<a[Left].v.size() && i2<a[Right].v.size() )
^
user.cpp:71:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i1<a[Left].v.size() ) a[node].v.push_back(a[Left].v[i1++]);
^
user.cpp:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i2<a[Right].v.size() ) a[node].v.push_back(a[Right].v[i2++]);
^
user.cpp:74:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i1=0; i1<a[node].v.size(); ++i1) aib[node].v.push_back(0);
^
user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i1=1; i1<aib[node].v.size(); ++i1)
^
user.cpp:79:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i2<aib[node].v.size()) aib[node].v[i2] += aib[node].v[i1];
^
user.cpp: In function ‘int main()’:
user.cpp:117:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.in", "r", stdin);
^
user.cpp:118:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.out", "w", stdout);
^
user.cpp:120:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:123:75: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%d", &init[i]), valeur.v.push_back(init[i]);
^
user.cpp:130:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
user.cpp:133:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:138:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 11612kb | OK | 10 |
2 | 308ms | 13920kb | OK | 10 |
3 | 332ms | 14252kb | OK | 10 |
4 | 1144ms | 20316kb | OK | 10 |
5 | 1716ms | 29536kb | OK | 10 |
6 | 1680ms | 22148kb | OK | 10 |
7 | 1480ms | 22944kb | OK | 10 |
8 | 1508ms | 29800kb | OK | 10 |
9 | 1004ms | 30064kb | OK | 10 |
10 | 1728ms | 27956kb | OK | 10 |
Punctaj total | 100 |