Borderou de evaluare (job #1224866)

Utilizator bogdanboboc97Bogdan Boboc bogdanboboc97 Data 31 august 2014 20:13:50
Problema Temple Status done
Runda Infoarena Monthly 2014 - Runda 8 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:13:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(i=1;i<=n;i++)scanf("%d%",&v[i]); ^ user.cpp:14:39: warning: spurious trailing ‘%’ in format [-Wformat=] user.cpp:15:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(i=1;i<=n;i++)scanf("%d%",&q[i]); ^ user.cpp:15:39: warning: spurious trailing ‘%’ in format [-Wformat=] user.cpp:24:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(!ok)printf("%d ",max(q[i],q[j])); ^ user.cpp:25:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d ",q[i]); ^ user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",q[n]); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("temple.in","r",stdin); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("temple.out","w",stdout); ^ user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:14:40: 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%",&v[i]); ^ user.cpp:15:40: 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%",&q[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbIncorect00
2104ms1820kbIncorect0
3Depăşit1816kbTime limit exceeded.0
4Depăşit1812kbTime limit exceeded.0
5Depăşit1816kbTime limit exceeded.0
6316ms1820kbIncorect0
7324ms1820kbIncorect0
8188ms1820kbIncorect0
9184ms1824kbIncorect0
10148ms1824kbIncorect0
Penalizare 36 (pentru 73.8 minute) + 3 (pentru o submisie)-39
Punctaj total0

Ceva nu functioneaza?