Pagini recente » Borderou de evaluare (job #2795500) | Borderou de evaluare (job #3243720) | Borderou de evaluare (job #856252) | Borderou de evaluare (job #2815708) | Borderou de evaluare (job #2360252)
Borderou de evaluare (job #2360252)
Raport evaluator
Compilare:
main.cpp: In function 'void getPossTran()':
main.cpp:47:28: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
if (cf && cf != (B + C + D))
^
main.cpp:47:32: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
if (cf && cf != (B + C + D))
^
main.cpp: In function 'int main()':
main.cpp:103:92: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", (1LL * ((1LL * (frq[a] - 1) * (frq[a] - 2)) / 2) * (frq[b] - 1)) % mod);
^
main.cpp:87:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:92:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 5 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 9ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 5 |
7 | 6ms | 131kb | Incorect | 0 |
8 | 13ms | 131kb | Incorect | 0 |
9 | 8ms | 131kb | OK | 5 |
10 | 53ms | 131kb | Incorect | 0 |
11 | 95ms | 524kb | Incorect | 0 |
12 | 285ms | 4325kb | Incorect | 0 |
13 | 22ms | 393kb | OK | 5 |
14 | 700ms | 4587kb | Time limit exceeded | 0 |
15 | 56ms | 917kb | Incorect | 0 |
16 | 703ms | 2883kb | Time limit exceeded | 0 |
17 | 102ms | 917kb | Incorect | 0 |
18 | 88ms | 1310kb | OK | 5 |
19 | 703ms | 5373kb | Time limit exceeded | 0 |
20 | 702ms | 5373kb | Time limit exceeded | 0 |
Punctaj total | 25 |