Pagini recente » Borderou de evaluare (job #2869228) | Borderou de evaluare (job #2230571) | Borderou de evaluare (job #3243057) | Borderou de evaluare (job #792452) | Borderou de evaluare (job #981418)
Borderou de evaluare (job #981418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",(n*(n+1)*(n-1)/3)%p);
^
user.cpp:18:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d",(n*(n-1)*(n-2)/3+n*(n-1))%p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 236kb | OK | 10 |
3 | 0ms | 236kb | Incorect | 0 |
4 | 0ms | 240kb | Incorect | 0 |
5 | 0ms | 236kb | Incorect | 0 |
6 | 0ms | 240kb | Incorect | 0 |
7 | 0ms | 240kb | Incorect | 0 |
8 | 0ms | 240kb | Incorect | 0 |
9 | 0ms | 240kb | Incorect | 0 |
10 | 0ms | 236kb | Incorect | 0 |
Punctaj total | 20 |