Pagini recente » Borderou de evaluare (job #1073415) | Borderou de evaluare (job #129949) | Borderou de evaluare (job #1851797) | Borderou de evaluare (job #812197) | Borderou de evaluare (job #1524290)
Borderou de evaluare (job #1524290)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:92: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:81: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:76:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:82: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:83: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:84: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:85: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:91: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 | 452kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 464kb | Incorect | 0 |
4 | 0ms | 464kb | Incorect | 0 |
5 | 0ms | 460kb | Incorect | 0 |
6 | 0ms | 464kb | Incorect | 0 |
7 | 0ms | 476kb | Incorect | 0 |
8 | 0ms | 476kb | Incorect | 0 |
9 | 8ms | 716kb | Incorect | 0 |
10 | 20ms | 716kb | Incorect | 0 |
11 | 12ms | 988kb | Incorect | 0 |
12 | 24ms | 992kb | Incorect | 0 |
13 | 68ms | 1560kb | Incorect | 0 |
14 | 124ms | 1568kb | Incorect | 0 |
15 | 84ms | 2684kb | Incorect | 0 |
16 | 148ms | 2684kb | Incorect | 0 |
17 | 148ms | 2696kb | Incorect | 0 |
18 | 276ms | 2692kb | Incorect | 0 |
19 | 188ms | 4932kb | Incorect | 0 |
20 | 336ms | 4936kb | Incorect | 0 |
Punctaj total | 0 |