Pagini recente » Borderou de evaluare (job #1439057) | Borderou de evaluare (job #1812465) | Borderou de evaluare (job #993723) | Borderou de evaluare (job #2075662) | Borderou de evaluare (job #2221985)
Borderou de evaluare (job #2221985)
Raport evaluator
Compilare:
user.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<fstream>
^~~~~~
user.cpp:2:17: warning: multi-character character constant [-Wmultichar]
int N,o,t,x,y,B['썐'],s,i,z;
^~~~~
user.cpp: In function ‘int U(int)’:
user.cpp:4:39: warning: no return statement in function returning non-void [-Wreturn-type]
int U(int p){for(;N/p;p+=p&-p)B[p]+=x;}
^
user.cpp: At global scope:
user.cpp:8:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){std::ifstream f("aib.in");std::ofstream g("aib.out");
^
user.cpp: In function ‘int main()’:
user.cpp:18:16: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
i+s>N|x<Q(i+s)||(i+=s);o=x==Q(i+s);
~~~^~
user.cpp:16:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=0;o*s;s/=2)
^~~
user.cpp:18:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
i+s>N|x<Q(i+s)||(i+=s);o=x==Q(i+s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1380kb | Incorect | 0 |
2 | 0ms | 1396kb | Incorect | 0 |
3 | 8ms | 1408kb | Incorect | 0 |
4 | 36ms | 1488kb | Incorect | 0 |
5 | 80ms | 1524kb | Incorect | 0 |
6 | 120ms | 3588kb | Incorect | 0 |
7 | 136ms | 3584kb | Incorect | 0 |
8 | 184ms | 3588kb | Incorect | 0 |
9 | 184ms | 3588kb | Incorect | 0 |
10 | 184ms | 3588kb | Incorect | 0 |
Punctaj total | 0 |