Pagini recente » Borderou de evaluare (job #1611253) | Borderou de evaluare (job #2876490) | Borderou de evaluare (job #1583391) | Borderou de evaluare (job #115195) | Borderou de evaluare (job #1473880)
Borderou de evaluare (job #1473880)
Raport evaluator
Compilare:
user.cpp: In function ‘int zeros(int)’:
user.cpp:11:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return x^(x-1)&x;
^
user.cpp: In function ‘int main()’:
user.cpp:48:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
user.cpp:49:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fou,"w",stdout);
^
user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:53:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:59:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cod,&a);
^
user.cpp:60:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(cod!=2) scanf("%d",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 4ms | 460kb | OK | 10 |
4 | 28ms | 540kb | OK | 10 |
5 | 60ms | 584kb | OK | 10 |
6 | 92ms | 696kb | OK | 10 |
7 | 100ms | 772kb | OK | 10 |
8 | 140ms | 828kb | OK | 10 |
9 | 140ms | 828kb | OK | 10 |
10 | 140ms | 824kb | OK | 10 |
Punctaj total | 100 |