Pagini recente » Borderou de evaluare (job #3037577) | Borderou de evaluare (job #1723831) | Borderou de evaluare (job #1936491) | Borderou de evaluare (job #584435) | Borderou de evaluare (job #1269097)
Borderou de evaluare (job #1269097)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%lld",((n%p)*((n+1)%p)*((n-1)%p))/3%p);
^
user.cpp:17:77: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%lld",(((n%p)*((n-1)%p)*((n-2)%p))/3%p)+((n%p)*((n-1)%p)));
^
user.cpp:10:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Incorect | 0 |
2 | 0ms | 416kb | Incorect | 0 |
3 | 0ms | 416kb | Incorect | 0 |
4 | 0ms | 412kb | Incorect | 0 |
5 | 0ms | 420kb | Incorect | 0 |
6 | 0ms | 416kb | Incorect | 0 |
7 | 0ms | 416kb | Incorect | 0 |
8 | 0ms | 412kb | Incorect | 0 |
9 | 0ms | 416kb | Incorect | 0 |
10 | 0ms | 420kb | Incorect | 0 |
Punctaj total | 0 |