Pagini recente » Borderou de evaluare (job #470046) | Borderou de evaluare (job #2154647) | Borderou de evaluare (job #1043150) | Borderou de evaluare (job #2070618) | Borderou de evaluare (job #2185518)
Borderou de evaluare (job #2185518)
Raport evaluator
Compilare:
user.cpp:2:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){int64_t N,P=1;for(std::ifstream("fetite.in")>>N;N/P;P*=2);std::ofstream("fetite.out")<<~-(++N-P/2<<1);}
^
user.cpp: In function ‘int main()’:
user.cpp:2:101: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
main(){int64_t N,P=1;for(std::ifstream("fetite.in")>>N;N/P;P*=2);std::ofstream("fetite.out")<<~-(++N-P/2<<1);}
~~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1372kb | OK | 10 |
2 | 0ms | 1372kb | OK | 10 |
3 | 0ms | 1372kb | OK | 10 |
4 | 0ms | 1372kb | OK | 10 |
5 | 0ms | 1376kb | OK | 10 |
6 | 0ms | 1376kb | OK | 10 |
7 | 0ms | 1376kb | OK | 10 |
8 | 0ms | 1372kb | OK | 10 |
9 | 0ms | 1372kb | OK | 10 |
10 | 0ms | 1372kb | OK | 10 |
Punctaj total | 100 |