Pagini recente » Borderou de evaluare (job #1711662) | Borderou de evaluare (job #339191) | Borderou de evaluare (job #1510630) | Borderou de evaluare (job #2141079) | Borderou de evaluare (job #2416488)
Borderou de evaluare (job #2416488)
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 | OK | 5 | 20 |
6 | 3ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 88ms | 1835kb | OK | 5 | 20 |
10 | 85ms | 1835kb | OK | 5 |
11 | 85ms | 1835kb | OK | 5 |
12 | 69ms | 1835kb | OK | 5 |
13 | 277ms | 6160kb | OK | 5 | 20 |
14 | 261ms | 6160kb | OK | 5 |
15 | 264ms | 6160kb | OK | 5 |
16 | 266ms | 6029kb | OK | 5 |
17 | 380ms | 8912kb | OK | 5 | 20 |
18 | 365ms | 8912kb | OK | 5 |
19 | 349ms | 8912kb | OK | 5 |
20 | 414ms | 9043kb | OK | 5 |
Punctaj total | 100 |