Pagini recente » Borderou de evaluare (job #379598) | Borderou de evaluare (job #984686) | Borderou de evaluare (job #807348) | Borderou de evaluare (job #2552792) | Borderou de evaluare (job #2221980)
Borderou de evaluare (job #2221980)
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-B[i+s]<0||(x-=B[i+=s])||(o=0);
~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1384kb | OK | 10 |
2 | 0ms | 1400kb | OK | 10 |
3 | 8ms | 1404kb | OK | 10 |
4 | 40ms | 1488kb | OK | 10 |
5 | 92ms | 1528kb | OK | 10 |
6 | 136ms | 3588kb | OK | 10 |
7 | 152ms | 3584kb | OK | 10 |
8 | 212ms | 3584kb | OK | 10 |
9 | 216ms | 3588kb | OK | 10 |
10 | 208ms | 3592kb | OK | 10 |
Punctaj total | 100 |