Pagini recente » Borderou de evaluare (job #152836) | Borderou de evaluare (job #978614) | Cod sursa (job #1967332) | Borderou de evaluare (job #2755095) | Borderou de evaluare (job #2185649)
Borderou de evaluare (job #2185649)
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<<63-__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<<63-__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<<63-__builtin_clzll(N)))*2+1;}
~~^~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1372kb | OK | 10 |
2 | 0ms | 1372kb | OK | 10 |
3 | 0ms | 1380kb | OK | 10 |
4 | 0ms | 1376kb | OK | 10 |
5 | 0ms | 1372kb | OK | 10 |
6 | 0ms | 1376kb | Incorect | 0 |
7 | 0ms | 1380kb | Incorect | 0 |
8 | 0ms | 1376kb | Incorect | 0 |
9 | 0ms | 1372kb | Incorect | 0 |
10 | 0ms | 1372kb | Incorect | 0 |
Punctaj total | 50 |