Borderou de evaluare (job #2294051)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 1 decembrie 2018 20:53:40
Problema Pic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'bool verif(ll, ll&)': main.cpp:19:8: warning: unused variable 'val' [-Wunused-variable] ll val = k; ^~~ main.cpp: In function 'int main()': main.cpp:52:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%I64d",&cerinta); ^ main.cpp:53:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%I64d",&n); ^ main.cpp:61:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%I64d",&x); ^ main.cpp:73:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d\n",pos); ^ main.cpp:93:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%I64d %I64d",ans,me); ^ main.cpp:93:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=] main.cpp:55:8: warning: unused variable 'lim' [-Wunused-variable] ll lim = n*(n+1)/2; ^~~ main.cpp:80:8: warning: variable 'ans2' set but not used [-Wunused-but-set-variable] ll ans2; ^~~~ main.cpp:49:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pic.in","r",stdin); ^ main.cpp:50:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pic.out","w",stdout); ^ main.cpp:52:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&cerinta); ^ main.cpp:53:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&n); ^ main.cpp:61:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
33ms131kbOK5
43ms131kbOK5
53ms131kbIncorect0
63ms131kbIncorect0
73ms131kbIncorect0
83ms131kbIncorect0
93ms131kbIncorect0
103ms131kbIncorect0
114ms131kbIncorect0
124ms131kbIncorect0
133ms131kbIncorect0
143ms131kbIncorect0
153ms131kbIncorect0
163ms131kbIncorect0
173ms131kbIncorect0
183ms131kbIncorect0
194ms131kbIncorect0
204ms131kbIncorect0
Punctaj total20

Ceva nu functioneaza?