D. 与7无关的数

    Type: Default 1000ms 256MiB

与7无关的数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【题目描述】

一个正整数,如果它能被 77整除,或者它的十进制表示法中某一位上的数字为 77,则称其为与 77 相关的数。现求所有小于等于 nnn<100n<100)与 77 无关的正整数的 平方和

【输入】

输入为一行,正整数 nn (n<100n < 100)。

【输出】

输出一行,包含一个整数,即小于等于 nn 的所有与 77 无关的正整数的平方和。

【输入样例】

21

【输出样例】

2336

【来源】

一本通在线评测

1219签到加作业

Not Attended
Status
Done
Rule
IOI
Problem
7
Start at
2025-12-19 10:00
End at
2025-12-19 12:15
Duration
2.3 hour(s)
Host
Partic.
44