Pagini recente » Borderou de evaluare (job #772811) | Borderou de evaluare (job #1373939) | Borderou de evaluare (job #1370138) | Borderou de evaluare (job #1633204) | Borderou de evaluare (job #2271938)
Borderou de evaluare (job #2271938)
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 |
1 | 165ms | 655kb | Incorect | 0 |
2 | 116ms | 524kb | Incorect | 0 |
3 | 73ms | 524kb | Incorect | 0 |
4 | 82ms | 393kb | Incorect | 0 |
5 | 166ms | 917kb | Incorect | 0 |
6 | 145ms | 917kb | Incorect | 0 |
7 | 107ms | 524kb | Incorect | 0 |
8 | 119ms | 655kb | Incorect | 0 |
9 | 218ms | 1179kb | Incorect | 0 |
10 | 189ms | 1179kb | Incorect | 0 |
11 | 87ms | 524kb | Incorect | 0 |
12 | 209ms | 917kb | Incorect | 0 |
13 | 310ms | 1835kb | Incorect | 0 |
14 | 329ms | 1966kb | Incorect | 0 |
15 | 8ms | 786kb | Killed by Signal 11 | 0 |
16 | 4ms | 393kb | Killed by Signal 11 | 0 |
17 | 9ms | 1179kb | Killed by Signal 11 | 0 |
18 | 11ms | 1179kb | Killed by Signal 11 | 0 |
19 | 13ms | 1703kb | Killed by Signal 11 | 0 |
20 | 12ms | 1703kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |