Pagini recente » Borderou de evaluare (job #337266) | Borderou de evaluare (job #1066176) | Borderou de evaluare (job #3035501) | Borderou de evaluare (job #603818) | Borderou de evaluare (job #1264028)
Borderou de evaluare (job #1264028)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:8:31: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (;poz<=n;poz=poz+(poz &(poz-1)^poz))
^
user.cpp: In function ‘int querry(int)’:
user.cpp:15:27: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(;poz;poz=poz-(poz &(poz-1)^poz))
^
user.cpp: In function ‘int main()’:
user.cpp:39:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
user.cpp:41:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a);
^
user.cpp:46:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&tip);
^
user.cpp:48:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&a,&b);
^
user.cpp:55:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 240kb | OK | 10 |
| 2 | 0ms | 240kb | OK | 10 |
| 3 | 4ms | 264kb | OK | 10 |
| 4 | 28ms | 348kb | OK | 10 |
| 5 | 64ms | 384kb | OK | 10 |
| 6 | 92ms | 500kb | OK | 10 |
| 7 | 108ms | 576kb | OK | 10 |
| 8 | 144ms | 636kb | OK | 10 |
| 9 | 152ms | 632kb | OK | 10 |
| 10 | 152ms | 636kb | OK | 10 |
| Punctaj total | 100 |