Borderou de evaluare (job #2271938)

Utilizator Vlad_NituNitu Vlad-Petru Vlad_Nitu Data 29 octombrie 2018 15:17:33
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:18:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (a%P < 0 || b%P < 0 || a&P<b%P) ^~ main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' p *= x[a%P]%P*y[a%P- b%P]%P*y[b%P]%P; ^ main.cpp: In function 'int main()': main.cpp:30: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:31: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:32:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld" , &P , &Q) ; ^ main.cpp:45: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
1165ms655kbIncorect0
2116ms524kbIncorect0
373ms524kbIncorect0
482ms393kbIncorect0
5166ms917kbIncorect0
6145ms917kbIncorect0
7107ms524kbIncorect0
8119ms655kbIncorect0
9218ms1179kbIncorect0
10189ms1179kbIncorect0
1187ms524kbIncorect0
12209ms917kbIncorect0
13310ms1835kbIncorect0
14329ms1966kbIncorect0
158ms786kbKilled by Signal 110
164ms393kbKilled by Signal 110
179ms1179kbKilled by Signal 110
1811ms1179kbKilled by Signal 110
1913ms1703kbKilled by Signal 110
2012ms1703kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?