Pagini recente »
Borderou de evaluare (job #410225)
|
Borderou de evaluare (job #267600)
|
Borderou de evaluare (job #323760)
|
Borderou de evaluare (job #280041)
|
Borderou de evaluare (job #791475)
Borderou de evaluare (job #791475)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:20: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
13 | fscanf(fin,"%d%d%d",&k,&n,&p);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:48:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
48 | fprintf(fout,"%d\n%d\n",max,((p*2+1)*(p*2+1)-p-1)%k+1);
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
main.c:13:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d%d",&k,&n,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
532 kb
|
Incorect
|
0
|
5
|
1 ms
|
512 kb
|
OK
|
10
|
6
|
1 ms
|
528 kb
|
Incorect
|
0
|
7
|
1 ms
|
512 kb
|
Incorect
|
0
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
9
|
1 ms
|
512 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Penalizare: 10% (pentru 2 submisie/ii)
|
10%
|
Punctaj total
|
9
|