Pagini recente » Borderou de evaluare (job #895093) | Borderou de evaluare (job #266373) | Borderou de evaluare (job #3162479)
Borderou de evaluare (job #3162479)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
16 | for (i = 0; (1<<i) <= p;i++)
| ~~~~~~~^~~~
main.cpp:18:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
18 | if ( ((1<<i) & p) > 0)
| ^~
main.cpp:21:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | a=(a * a) % m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 100 |