small fix in p14
This commit is contained in:
parent
c93d362cfc
commit
780f4e600c
1 changed files with 3 additions and 2 deletions
5
p14.c
5
p14.c
|
|
@ -10,14 +10,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
/* working variables */
|
/* working variables */
|
||||||
int i, nlen, table[1000000] = {0, 1};
|
int i, nlen, table[1000000] = {0, 1};
|
||||||
long long n;
|
int64_t n;
|
||||||
/* result */
|
/* result */
|
||||||
int len, rs = 0;
|
int len = 0, rs = 0;
|
||||||
|
|
||||||
for(i=2; i < 1000000; i++) {
|
for(i=2; i < 1000000; i++) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue