Pagini recente » Borderou de evaluare (job #2822862) | Borderou de evaluare (job #3337993) | Borderou de evaluare (job #773544) | Borderou de evaluare (job #872282) | Borderou de evaluare (job #1736499)
Borderou de evaluare (job #1736499)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int, int)’:
user.cpp:17:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘int Count(int)’:
user.cpp:22:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-((x&(x-1))^x))
^
user.cpp: In function ‘int main()’:
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distincte.in","r",stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distincte.out","w",stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:34:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&query[i].left,&query[i].right);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 5 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 8ms | 448kb | OK | 5 |
| 4 | 16ms | 600kb | OK | 5 |
| 5 | 0ms | 316kb | OK | 5 |
| 6 | 56ms | 1444kb | OK | 5 |
| 7 | 32ms | 1080kb | OK | 5 |
| 8 | 60ms | 1824kb | OK | 5 |
| 9 | 60ms | 1476kb | OK | 5 |
| 10 | 36ms | 840kb | OK | 5 |
| 11 | 72ms | 1620kb | Incorect | 0 |
| 12 | 84ms | 1792kb | Incorect | 0 |
| 13 | 96ms | 2188kb | Incorect | 0 |
| 14 | 156ms | 2796kb | Incorect | 0 |
| 15 | 140ms | 2516kb | Incorect | 0 |
| 16 | 116ms | 2328kb | Incorect | 0 |
| 17 | 140ms | 2460kb | Incorect | 0 |
| 18 | 96ms | 2004kb | Incorect | 0 |
| 19 | 72ms | 1548kb | Incorect | 0 |
| 20 | 148ms | 2800kb | Incorect | 0 |
| Punctaj total | 50 |