Pagini recente » Cod sursa (job #3204905) | Cod sursa (job #2872323) | Borderou de evaluare (job #1028462) | Borderou de evaluare (job #1928293) | Borderou de evaluare (job #2185647)
Borderou de evaluare (job #2185647)
Raport evaluator
Compilare:
user.cpp:2:15: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(int64_t N){std::ifstream("fetite.in")>>N;std::ofstream("fetite.out")<<(N-(1<<64-__builtin_clzll(N)))*2+1;}
^
user.cpp:2:1: warning: first argument of ‘int main(int64_t)’ should be ‘int’ [-Wmain]
main(int64_t N){std::ifstream("fetite.in")>>N;std::ofstream("fetite.out")<<(N-(1<<64-__builtin_clzll(N)))*2+1;}
^~~~
user.cpp:2:1: warning: ‘int main(int64_t)’ takes only zero or two arguments [-Wmain]
user.cpp: In function ‘int main(int64_t)’:
user.cpp:2:85: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
main(int64_t N){std::ifstream("fetite.in")>>N;std::ofstream("fetite.out")<<(N-(1<<64-__builtin_clzll(N)))*2+1;}
~~^~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1372kb | Incorect | 0 |
2 | 0ms | 1372kb | Incorect | 0 |
3 | 0ms | 1372kb | Incorect | 0 |
4 | 0ms | 1372kb | Incorect | 0 |
5 | 0ms | 1372kb | Incorect | 0 |
6 | 0ms | 1376kb | Incorect | 0 |
7 | 0ms | 1372kb | Incorect | 0 |
8 | 0ms | 1376kb | Incorect | 0 |
9 | 0ms | 1376kb | Incorect | 0 |
10 | 0ms | 1376kb | Incorect | 0 |
Punctaj total | 0 |