Pagini recente » Borderou de evaluare (job #2608085) | Borderou de evaluare (job #1251441) | Borderou de evaluare (job #1467326) | Borderou de evaluare (job #2765443) | Borderou de evaluare (job #2004846)
Borderou de evaluare (job #2004846)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n <= b){
^
user.cpp:16:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n <= b){
^
user.cpp:19:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n <= b){
^
user.cpp:22:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n >= a && n <= b){
^
user.cpp:22:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n >= a && n <= b){
^
user.cpp:26:50: warning: unused variable ‘nr2’ [-Wunused-variable]
int nr4 = 0, nr2 = 0, r2 = 0;
^
user.cpp:35:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(n > b) break;
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth.in", "r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth.out", "w", stdout);
^
user.cpp:10: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 |
✓ | 1 | 0ms | 284kb | Incorect | 0 |
✓ | 2 | 0ms | 284kb | OK | 20 |
✓ | 3 | 0ms | 280kb | OK | 20 |
✓ | 4 | 0ms | 284kb | OK | 20 |
✓ | 5 | 0ms | 280kb | Incorect | 0 |
Punctaj total | 60 |