Pagini recente » Borderou de evaluare (job #91134) | Borderou de evaluare (job #2307809) | Borderou de evaluare (job #2882042) | Borderou de evaluare (job #2517099) | Borderou de evaluare (job #2228696)
Borderou de evaluare (job #2228696)
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:75: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:76: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 | 936kb | OK | 10 | 10 |
2 | 0ms | 864kb | OK | 10 | 10 |
3 | 504ms | 800kb | Incorect | 0 | 0 |
4 | 220ms | 880kb | OK | 10 | 10 |
5 | 216ms | 756kb | Incorect | 0 | 0 |
6 | 452ms | 796kb | Incorect | 0 | 0 |
7 | 972ms | 756kb | OK | 10 | 0 |
8 | 660ms | 752kb | Incorect | 0 |
9 | 880ms | 876kb | Incorect | 0 |
10 | 952ms | 876kb | Incorect | 0 | 0 |
Punctaj total | 30 |