Pagini recente » Borderou de evaluare (job #1790230) | Borderou de evaluare (job #785714) | Borderou de evaluare (job #2918775) | Borderou de evaluare (job #1218470) | Borderou de evaluare (job #3334746)
Borderou de evaluare (job #3334746)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
20 | for (i = 0; (1<<i) <= p; ++ i)
| ~~~~~~~^~~~
main.cpp:22:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22 | if ( ((1<<i) & p) > 0)
| ^~
main.cpp:25:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
25 | a=(a * a) % m;
| ^
main.cpp:12:11: warning: unused variable 'n_max' [-Wunused-variable]
12 | const int n_max = 10001;
| ^~~~~
| 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 |