Borderou de evaluare (job #1839753)

Utilizator giotoPopescu Ioan gioto Data 3 ianuarie 2017 13:52:05
Problema Taste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int CBIN(long long int)’: user.cpp:9:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(p2 > x) ^ user.cpp:11:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(p2 < x) ^ user.cpp: In function ‘int main()’: user.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(p2 * i >= a && p2 * i <= b){ ^ user.cpp:30:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(p2 * i >= a && p2 * i <= b){ ^ user.cpp:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(p2 * i > b) ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.in", "r", stdin); ^ user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.out", "w", stdout); ^ user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbCorect10
2Depăşit248kbTime limit exceeded.0
3Depăşit248kbTime limit exceeded.0
40ms280kbCorect10
50ms288kbIncorect0
6Depăşit244kbTime limit exceeded.0
7Depăşit244kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
9Depăşit248kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?