Pagini recente » Borderou de evaluare (job #1574621) | Borderou de evaluare (job #2476097) | Borderou de evaluare (job #324594) | Borderou de evaluare (job #580404) | Borderou de evaluare (job #2416491)
Borderou de evaluare (job #2416491)
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:28:45: note: in expansion of macro 'Mask'
++ frq[(v[t][i] >> (B * dig)) & Mask];
^~~~
main.cpp:3:23: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
#define Mask (1 << 8) - 1
~~~~~~~~~^~~
main.cpp:32:48: note: in expansion of macro 'Mask'
int val = (v[t][i] >> (B * dig)) & Mask;
^~~~
main.cpp:19:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 30 |
2 | 17ms | 917kb | OK | 10 |
3 | 153ms | 8650kb | OK | 10 |
4 | 164ms | 8650kb | OK | 10 | 40 |
5 | 1384ms | 87031kb | OK | 10 |
6 | 1437ms | 86806kb | OK | 10 |
7 | 153ms | 9175kb | OK | 10 |
8 | 1607ms | 90570kb | OK | 10 | 30 |
9 | 1919ms | 90046kb | OK | 10 |
10 | 1990ms | 90570kb | OK | 10 |
Punctaj total | 100 |