Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;

ll n;
ll ans = 0;

void loop(ll cur, int use) {
  if (cur > n) return;
  if (use == 0b111) ans++;
  // add 7
  loop(cur*10+7, use|0b100);

  // add 5
  loop(cur*10+5, use|0b010);
  
  // add 3
  loop(cur*10+3, use|0b001);
}

int main() {
  cin >> n;
  loop(0, 0);
  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc:1:2: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>
      |  ^
a.cc:1:2: error: invalid preprocessing directive #include\U000000a0
    1 | #include <bits/stdc++.h>
      |  ^~~~~~~~
a.cc:2:2: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |  ^
a.cc:2:2: error: invalid preprocessing directive #define\U000000a0rep
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |  ^~~~~~~~~~
a.cc:2:17: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                 ^
a.cc:2:17: error: extended character   is not valid in an identifier
a.cc:2:23: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                       ^
a.cc:2:23: error: extended character   is not valid in an identifier
a.cc:2:30: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                              ^
a.cc:2:33: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                                 ^
a.cc:2:33: error: extended character   is not valid in an identifier
a.cc:2:37: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                                     ^
a.cc:2:42: error: extended character   is not valid in an identifier
    2 | #define rep(i,n) for (int i = 0; i < (n); ++i)
      |                                          ^
a.cc:3:1: error: extended character   is not valid in an identifier
    3 | using namespace std;
      | ^
a.cc:3:1: error: extended character   is not valid in an identifier
a.cc:4:1: error: extended character   is not valid in an identifier
    4 | typedef long long ll;
      | ^
a.cc:4:1: error: extended character   is not valid in an identifier
a.cc:4:1: error: extended character   is not valid in an identifier
a.cc:6:1: error: extended character   is not valid in an identifier
    6 | ll n;
      | ^
a.cc:7:1: error: extended character   is not valid in an identifier
    7 | ll ans = 0;
      | ^
a.cc:7:1: error: extended character   is not valid in an identifier
a.cc:7:9: error: extended character   is not valid in an identifier
    7 | ll ans = 0;
      |         ^
a.cc:9:1: error: extended character   is not valid in an identifier
    9 | void loop(ll cur, int use) {
      | ^
a.cc:9:11: error: extended character   is not valid in an identifier
    9 | void loop(ll cur, int use) {
      |           ^
a.cc:9:18: error: extended character   is not valid in an identifier
    9 | void loop(ll cur, int use) {
      |                  ^
a.cc:9:18: error: extended character   is not valid in an identifier
a.cc:9:27: error: extended character   is not valid in an identifier
    9 | void loop(ll cur, int use) {
      |                           ^
a.cc:10:1: error: extended character   is not valid in an identifier
   10 |   if (cur > n) return;
      | ^
a.cc:10:1: error: extended character   is not valid in an identifier
a.cc:10:1: error: extended character   is not valid in an identifier
a.cc:10:7: error: extended character   is not valid in an identifier
   10 |   if (cur > n) return;
      |       ^
a.cc:10:12: error: extended character   is not valid in an identifier
   10 |   if (cur > n) return;
      |            ^
a.cc:10:15: error: extended character   is not valid in an identifier
   10 |   if (cur > n) return;
      |               ^
a.cc:11:1: error: extended character   is not valid in an identifier
   11 |   if (use == 0b111) ans++;
      | ^
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:11:1: error: extended character   is not valid in an identifier
a.cc:11:7: error: extended character   is not valid in an identifier
   11 |   if (use == 0b111) ans++;
      |       ^
a.cc:11:13: error: extended character   is not valid in an identifier
   11 |   if (use == 0b111) ans++;
      |             ^
a.cc:11:20: error: extended character   is not valid in an identifier
   11 |   if (use == 0b111) ans++;
      |                    ^
a.cc:12:1: error: extended character   is not valid in an identifier
   12 |   // add 7
      | ^
a.cc:12:1: error: extended character   is not valid in an identifier
a.cc:13:1: error: extended character   is not valid in an identifier
   13 |   loop(cur*10+7, use|0b100);
      | ^
a.cc:13:1: error: extended character   is not valid in an identifier
a.cc:13:17: error: extended character   is not valid in an identifier
   13 |   loop(cur*10+7, use|0b100);
      |                 ^
a.cc:15:1: error: extended character   is not valid in an identifier
   15 |   // add 5
      | ^
a.cc:15:1: error: extended character   is not valid in an identifier
a.cc:16:1: error: extended character   is not valid in an identifier
   16 |   loop(cur*10+5, use|0b010);
      | ^
a.cc:16:1: error: extended character   is not valid in an identifier
a.cc:16:17: error: extended character   is not valid in an identifier
   16 |   loop(cur*10+5, use|0b010);
      |                 ^
a.cc:17:1: error: extended character   is not valid in an identifier
   17 |   
      | ^
a.cc:17:1: error: extended character   is not valid in an identifier
a.cc:18:1: error: extended character   is not valid in an identifier
   18 |   // add 3
      | ^
a.cc:18:1: error: extended character   is not valid in an identifier
a.cc:19:1: error: extended character   is not valid in an identifier
   19 |   loop(cur*10+3, use|0b001);
      | ^
a.cc:19:1: error: extended character   is not valid in an identifier
a.cc:19:17: error: extended character   is not valid in an identifier
   19 |   loop(cur*10+3, use|0b001);
      |                 ^
a.cc:22:1: error: extended character   is not valid in an identifier
   22 | int main() {
      | ^
a.cc:22:11: error: extended character   is not valid in an identifier
   22 | int main() {
      |           ^
a.cc:23:1: error: extended character   is not valid in an identifier
   23 |   cin >> n;
      | ^
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:1: error: extended character   is not valid in an identifier
a.cc:23:9: error: extended character   is not valid in an identifier
   23 |   cin >> n;
      |         ^
a.cc:24:1: error: extended character   is not valid in an identifier
   24 |   loop(0, 0);
      | ^
a.cc:24:1: error: extended character   is not valid in an identifier
a.cc:24:10: error: extended character   is not valid in an identifier
   24 |   loop(0, 0);
      |          ^
a.cc:25:1: error: extended character   is not valid in an identifier
   25 |   cout << ans << endl;
      | ^
a.cc:25:1: error: extended character   is not valid in an identifier
a.cc:25:1: error: extended character   is not valid in an identifier
a.cc:25:10: error: extended character   is not valid in an identifier
   25 |   cout << ans << endl;
      |          ^
a.cc:25:10: error: extended character   is not valid in an identifier
a.cc:25:17: error: extended character   is not valid in an identifier
   25 |   cout << ans << endl;
      |                 ^
a.cc:26:1: error: extended character   is not valid in an identifier
   26 |   return 0;
      | ^
a.cc:26:1: error: extended character   is not valid in an identifier
a.cc:26:1: error: extended character   is not valid in an identifier
a.cc:3:1: error: 'using\U000000a0namespace\U000000a0std' does not name a type
    3 | using namespace std;
      | ^~~~~~~~~~~~~~~~~~~
a.cc:4:1: error: 'typedef\U000000a0long\U000000a0long\U000000a0ll' does not name a type
    4 | typedef long long ll;
      | ^~~~~~~~~~~~~~~~~~~~
a.cc:6:1: error: 'll\U000000a0n' does not name a type
    6 | ll n;
      | ^~~~
a.cc:7:1: error: 'll\U000000a0ans\U000000a0' does not name a type
    7 | ll ans = 0;
      | ^~~~~~~
a.cc:9:10: error: expected constructor, destructor, or type conversion before '(' token
    9 | void loop(ll cur, int use) {
      |          ^
a.cc:22:11: error: expected constructor, destructor, or type conversion before '\U000000a0'
   22 | int main() {
      |           ^