Pagini recente » Borderou de evaluare (job #613822) | Borderou de evaluare (job #2202015) | Borderou de evaluare (job #1511591) | Borderou de evaluare (job #879396) | Borderou de evaluare (job #1524288)
Borderou de evaluare (job #1524288)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",query(1,n1,n2,1,n));
^
user.cpp:85:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n1,n2;
^
user.cpp: In function ‘int build(int, int, int)’:
user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘long long int query(int, int, int, int, int)’:
user.cpp:80:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:86:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sequencequery.in","r",stdin);
^
user.cpp:87:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sequencequery.out","w",stdout);
^
user.cpp:88: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:89:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) { scanf("%d",&nr[i]);}
^
user.cpp:97:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n1,&n2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 456kb | Incorect | 0 |
4 | 0ms | 456kb | Incorect | 0 |
5 | 0ms | 460kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 0ms | 468kb | Incorect | 0 |
8 | 0ms | 472kb | Incorect | 0 |
9 | 8ms | 716kb | Incorect | 0 |
10 | 16ms | 716kb | Incorect | 0 |
11 | 12ms | 988kb | Incorect | 0 |
12 | 20ms | 992kb | Incorect | 0 |
13 | 60ms | 1560kb | Incorect | 0 |
14 | 112ms | 1564kb | Incorect | 0 |
15 | 80ms | 2684kb | Incorect | 0 |
16 | 132ms | 2680kb | Incorect | 0 |
17 | 136ms | 2692kb | Incorect | 0 |
18 | 252ms | 2692kb | Incorect | 0 |
19 | 172ms | 4928kb | Incorect | 0 |
20 | 316ms | 4924kb | Incorect | 0 |
Punctaj total | 0 |