Borderou de evaluare (job #2271922)
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 |
1 | 118ms | 393kb | Incorect | 0 |
2 | 121ms | 393kb | Incorect | 0 |
3 | 70ms | 262kb | Incorect | 0 |
4 | 68ms | 262kb | Incorect | 0 |
5 | 136ms | 393kb | Incorect | 0 |
6 | 137ms | 393kb | Incorect | 0 |
7 | 93ms | 262kb | Incorect | 0 |
8 | 68ms | 262kb | Incorect | 0 |
9 | 153ms | 393kb | Incorect | 0 |
10 | 149ms | 393kb | Incorect | 0 |
11 | 41ms | 131kb | Incorect | 0 |
12 | 98ms | 262kb | Incorect | 0 |
13 | 171ms | 393kb | Incorect | 0 |
14 | 162ms | 393kb | Incorect | 0 |
15 | 6ms | 393kb | Killed by Signal 11 | 0 |
16 | 4ms | 262kb | Killed by Signal 11 | 0 |
17 | 9ms | 655kb | Killed by Signal 11 | 0 |
18 | 7ms | 655kb | Killed by Signal 11 | 0 |
19 | 11ms | 917kb | Killed by Signal 11 | 0 |
20 | 11ms | 917kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |