Pagini recente » Borderou de evaluare (job #2486803) | Borderou de evaluare (job #1346425) | Borderou de evaluare (job #2657954) | Borderou de evaluare (job #1340501) | Borderou de evaluare (job #2228682)
Borderou de evaluare (job #2228682)
Raport evaluator
Compilare:
user.cpp: In function ‘bool MillerRabin(int, int)’:
user.cpp:38:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
while(n % 2 == 0) n >>= 1, k++; m = n;
^~~~~
user.cpp:38:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘while’
while(n % 2 == 0) n >>= 1, k++; m = n;
^
user.cpp: In function ‘int main()’:
user.cpp:56:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.in", "r", stdin);
^
user.cpp:57:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 752kb | Incorect | 0 | 0 |
2 | 0ms | 876kb | OK | 10 | 10 |
3 | 528ms | 804kb | OK | 10 | 10 |
4 | 240ms | 756kb | OK | 10 | 10 |
5 | 236ms | 880kb | OK | 10 | 10 |
6 | 484ms | 932kb | OK | 10 | 10 |
7 | 1036ms | 808kb | OK | 10 | 30 |
8 | 712ms | 936kb | OK | 10 |
9 | 948ms | 876kb | OK | 10 |
10 | 1008ms | 876kb | OK | 10 | 10 |
Punctaj total | 90 |