Pagini recente » Borderou de evaluare (job #1386708) | Borderou de evaluare (job #3252470) | Borderou de evaluare (job #2262520) | Borderou de evaluare (job #2392096) | Borderou de evaluare (job #1269095)
Borderou de evaluare (job #1269095)
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:73: 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+((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 | 424kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 420kb | Incorect | 0 |
4 | 0ms | 416kb | OK | 10 |
5 | 0ms | 412kb | OK | 10 |
6 | 0ms | 412kb | Incorect | 0 |
7 | 0ms | 416kb | Incorect | 0 |
8 | 0ms | 416kb | Incorect | 0 |
9 | 0ms | 416kb | Incorect | 0 |
10 | 0ms | 412kb | Incorect | 0 |
Punctaj total | 40 |