Pagini recente » Borderou de evaluare (job #739504) | Borderou de evaluare (job #3034935) | Borderou de evaluare (job #712163) | Borderou de evaluare (job #851530) | Borderou de evaluare (job #1269098)
Borderou de evaluare (job #1269098)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:55: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld",((n%p)*((n+1)%p)*((n-1)%p))/3%p);
^
user.cpp:17:76: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld",(((n%p)*((n-1)%p)*((n-2)%p))%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 | 420kb | OK | 10 |
| 2 | 0ms | 412kb | OK | 10 |
| 3 | 0ms | 420kb | OK | 10 |
| 4 | 0ms | 416kb | OK | 10 |
| 5 | 0ms | 420kb | OK | 10 |
| 6 | 0ms | 420kb | Incorect | 0 |
| 7 | 0ms | 420kb | Incorect | 0 |
| 8 | 0ms | 412kb | Incorect | 0 |
| 9 | 0ms | 420kb | Incorect | 0 |
| 10 | 0ms | 416kb | Incorect | 0 |
| Punctaj total | 50 |