Borderou de evaluare (job #2271922)

Utilizator MDiana15Diana M MDiana15 Data 29 octombrie 2018 15:05:51
Problema Jap2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'long long int rezolva(long long int, long long int)': main.cpp:18:38: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (a%P < 0 || b%P < 0 || a&P<b%P) ~^~~~ main.cpp: In function 'int main()': main.cpp:47:35: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld%lld" , &a , &b); ^ main.cpp:47:35: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.in" , "r" , stdin) ; ^ main.cpp:32:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.out" , "w" , stdout) ; ^ main.cpp:33:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &P , &Q) ; ^ main.cpp:47:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld" , &a , &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1118ms393kbIncorect0
2121ms393kbIncorect0
370ms262kbIncorect0
468ms262kbIncorect0
5136ms393kbIncorect0
6137ms393kbIncorect0
793ms262kbIncorect0
868ms262kbIncorect0
9153ms393kbIncorect0
10149ms393kbIncorect0
1141ms131kbIncorect0
1298ms262kbIncorect0
13171ms393kbIncorect0
14162ms393kbIncorect0
156ms393kbKilled by Signal 110
164ms262kbKilled by Signal 110
179ms655kbKilled by Signal 110
187ms655kbKilled by Signal 110
1911ms917kbKilled by Signal 110
2011ms917kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?