Pagini recente » Borderou de evaluare (job #301997) | Borderou de evaluare (job #1830893) | Borderou de evaluare (job #1611220) | Borderou de evaluare (job #1654940) | Borderou de evaluare (job #2906807)
Borderou de evaluare (job #2906807)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
21 | for(int i = 0; (1 << i) <= p; i++)
| ~~~~~~~~~^~~~
main.cpp:23:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if(((1 << i) & p) > 0)
| ^~
main.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | a = (a * a) % m;
| ^
main.cpp:15:21: warning: unused variable 'i' [-Wunused-variable]
15 | unsigned int n, i, p;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 1ms | 184kb | OK | 10 |
5 | 1ms | 184kb | OK | 10 |
6 | 1ms | 184kb | OK | 10 |
7 | 1ms | 184kb | OK | 10 |
8 | 1ms | 184kb | OK | 10 |
9 | 1ms | 184kb | OK | 10 |
10 | 2ms | 212kb | OK | 10 |
Punctaj total | 100 |