Pagini recente » Borderou de evaluare (job #582491) | Borderou de evaluare (job #2138603) | Borderou de evaluare (job #2801901) | Borderou de evaluare (job #372724) | Borderou de evaluare (job #2416487)
Borderou de evaluare (job #2416487)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:3:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
#define Mask (1 << 8) - 1
~~~~~~~~~^~~
main.cpp:26:45: note: in expansion of macro 'Mask'
++ frq[(v[i][t] >> (B * dig)) & Mask];
^~~~
main.cpp:3:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
#define Mask (1 << 8) - 1
~~~~~~~~~^~~
main.cpp:30:48: note: in expansion of macro 'Mask'
int val = (v[i][t] >> (B * dig)) & Mask;
^~~~
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][0]);// = (a * v[i - 1][0] + b) % c;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 20 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | OK | 5 |
9 | 88ms | 1835kb | Incorect | 0 | 0 |
10 | 92ms | 1835kb | Incorect | 0 |
11 | 68ms | 1835kb | Incorect | 0 |
12 | 82ms | 1835kb | Incorect | 0 |
13 | 311ms | 6160kb | Incorect | 0 | 0 |
14 | 276ms | 6160kb | Incorect | 0 |
15 | 268ms | 6160kb | Incorect | 0 |
16 | 280ms | 6160kb | OK | 5 |
17 | 227ms | 4063kb | Killed by Signal 11 | 0 | 0 |
18 | 224ms | 4194kb | Killed by Signal 11 | 0 |
19 | 182ms | 4063kb | Killed by Signal 11 | 0 |
20 | 423ms | 9043kb | OK | 5 |
Punctaj total | 20 |