Pagini recente » Borderou de evaluare (job #759719) | Borderou de evaluare (job #2843958) | Borderou de evaluare (job #2902992) | Borderou de evaluare (job #688735) | Borderou de evaluare (job #1513198)
Borderou de evaluare (job #1513198)
Raport evaluator
Compilare:
user.cpp: In function ‘int pow(int)’:
user.cpp:13:23: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return (x ^ (x-1) & x);
^
user.cpp: In function ‘void read()’:
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp: In function ‘void solve()’:
user.cpp:51:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&tip,&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.in","r",stdin);
^
user.cpp:65:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 80ms | 508kb | Corect! | 20 |
2 | 80ms | 500kb | Corect! | 20 |
3 | 80ms | 508kb | Corect! | 20 |
4 | 80ms | 504kb | Corect! | 20 |
5 | 80ms | 504kb | Corect! | 20 |
Punctaj total | 100 |