Pagini recente » Borderou de evaluare (job #611899) | Borderou de evaluare (job #401315) | Borderou de evaluare (job #227600) | Borderou de evaluare (job #2713119) | Borderou de evaluare (job #2228701)
Borderou de evaluare (job #2228701)
Raport evaluator
Compilare:
user.cpp: In function ‘bool MillerRabin(int, int)’:
user.cpp:43:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
while(n % 2 == 0) n >>= 1, k++; m = n;
^~~~~
user.cpp:43: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:80: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:81: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 | 872kb | OK | 10 | 10 |
2 | 0ms | 800kb | OK | 10 | 10 |
3 | 524ms | 880kb | OK | 10 | 10 |
4 | 232ms | 880kb | OK | 10 | 10 |
5 | 232ms | 936kb | OK | 10 | 10 |
6 | 472ms | 876kb | OK | 10 | 10 |
7 | 1016ms | 880kb | OK | 10 | 30 |
8 | 696ms | 876kb | OK | 10 |
9 | 928ms | 756kb | OK | 10 |
10 | 984ms | 796kb | OK | 10 | 10 |
Punctaj total | 100 |