Pagini recente » Borderou de evaluare (job #2253822) | Borderou de evaluare (job #1288149) | Borderou de evaluare (job #2133245) | Borderou de evaluare (job #2919101) | Borderou de evaluare (job #1542634)
Borderou de evaluare (job #1542634)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:9:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
nod+=(nod^(nod&nod-1));
^
user.cpp: In function ‘int find(int)’:
user.cpp:19:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
nod-=(nod^(nod&nod-1));
^
user.cpp: In function ‘int main()’:
user.cpp:25:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:26:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&xx);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:40:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&val);
^
user.cpp:45:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&val);
^
user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 4ms | 296kb | OK | 10 |
4 | 28ms | 380kb | OK | 10 |
5 | 68ms | 412kb | OK | 10 |
6 | 108ms | 536kb | OK | 10 |
7 | 116ms | 616kb | OK | 10 |
8 | 168ms | 672kb | OK | 10 |
9 | 172ms | 664kb | OK | 10 |
10 | 164ms | 664kb | OK | 10 |
Punctaj total | 100 |