Language: C++


1 2
Yes
[1] + Done                       "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-7guoaikd.zus" 1>"/tmp/Microsoft-MIEngine-Out-f3m7o5mi.yvz"
root@3a1e9f100343:/workspaces/at-corder# cd passed/170
bash: cd: passed/170: No such file or directory
root@3a1e9f100343:/workspaces/at-corder# cd passed/171
bash: cd: passed/171: No such file or directory
root@3a1e9f100343:/workspaces/at-corder# cd passed/abc/170
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
3 9
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
9 3
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
9 2
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
100 100
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
50 100
Yes
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
3 7
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
2 0
No
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
6 5
4 7 10 6 5
8
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
10 5
4 7 10 6 5
11
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
10 5
4 7 10 6 5
9
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
100 0


f
100
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
100 0
 

f
100
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
6 5
4 7 10 6 5
4
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
6 5
4 7 10 6 5
8
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
10 5
4 7 10 6 5
9
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
100 0
100
root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# cd ../169/
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
3
101 9901 999999000001
1000000000000000001
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
3
101 9901 999999000001
1e+18
1000000000000000001
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
3
101 9901 999999000001
-1
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
198 1.10
217
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1 0.01
0
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9989999441215488
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9989999441215488
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# 
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
766627963145224
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
999
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
999000000000000000
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
7666279631452241920
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9.99e+15
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
^C
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9989999441215488
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9989999784812871
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
198 1.10
217.8
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
198 1.10
218
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
198 1.10
218
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
198 1.10
217
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9.99e+15
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
#include <iostream>
#include <vector>
#include <math.h>
#include <algorithm>
using namespace std;
using ll = long long;
#define rep(i,n) for(ll i = 0; i < (ll)(n); i++)

int main() {
    ll a;
    float b;
    cin >> a >> b;
    // cout << ((a * 100) * (ll)(b * 100) / 10000) << endl;
    // cout << (ll)((a) * (b)) << endl;
    cout << floor(((b*100) * a)/100) << endl;
}0
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# #include <vector>
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# #include <math.h>
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# #include <algorithm>
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# using namespace std;
bash: using: command not found
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# using ll = long long;
bash: using: command not found
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# #define rep(i,n) for(ll i = 0; i < (ll)(n); i++)
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# 
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# int main() {
bash: syntax error near unexpected token `('
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     ll a;
bash: ll: command not found
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     float b;
bash: float: command not found
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     cin >> a >> b;
bash: cin: command not found
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     // cout << ((a * 100) * (ll)(b * 100) / 10000) << endl;
bash: syntax error near unexpected token `('
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     // cout << (ll)((a) * (b)) << endl;
bash: syntax error near unexpected token `('
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#     cout << floor(((b*100) * a)/100) << endl;
> }
> ^C
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./
bash: ./: Is a directory
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
1000000000000000 9.99
9990000000000000
root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# 

Compiler output:
a.cc:5:5: error: stray '@' in program
    5 | root@3a1e9f100343:/workspaces/at-corder# cd passed/170
      |     ^
a.cc:5:40: error: stray '#' in program
    5 | root@3a1e9f100343:/workspaces/at-corder# cd passed/170
      |                                        ^
a.cc:7:5: error: stray '@' in program
    7 | root@3a1e9f100343:/workspaces/at-corder# cd passed/171
      |     ^
a.cc:7:40: error: stray '#' in program
    7 | root@3a1e9f100343:/workspaces/at-corder# cd passed/171
      |                                        ^
a.cc:9:5: error: stray '@' in program
    9 | root@3a1e9f100343:/workspaces/at-corder# cd passed/abc/170
      |     ^
a.cc:9:40: error: stray '#' in program
    9 | root@3a1e9f100343:/workspaces/at-corder# cd passed/abc/170
      |                                        ^
a.cc:10:5: error: stray '@' in program
   10 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:10:55: error: stray '#' in program
   10 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:13:5: error: stray '@' in program
   13 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:13:55: error: stray '#' in program
   13 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:16:5: error: stray '@' in program
   16 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:16:55: error: stray '#' in program
   16 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:19:5: error: stray '@' in program
   19 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:19:55: error: stray '#' in program
   19 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:22:5: error: stray '@' in program
   22 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:22:55: error: stray '#' in program
   22 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:25:5: error: stray '@' in program
   25 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:25:55: error: stray '#' in program
   25 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:28:5: error: stray '@' in program
   28 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |     ^
a.cc:28:55: error: stray '#' in program
   28 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./b
      |                                                       ^
a.cc:31:5: error: stray '@' in program
   31 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:31:55: error: stray '#' in program
   31 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:35:5: error: stray '@' in program
   35 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:35:55: error: stray '#' in program
   35 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:39:5: error: stray '@' in program
   39 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:39:55: error: stray '#' in program
   39 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:43:5: error: stray '@' in program
   43 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:43:55: error: stray '#' in program
   43 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:49:5: error: stray '@' in program
   49 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:49:55: error: stray '#' in program
   49 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:55:5: error: stray '@' in program
   55 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:55:55: error: stray '#' in program
   55 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:59:5: error: stray '@' in program
   59 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:59:55: error: stray '#' in program
   59 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:63:5: error: stray '@' in program
   63 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:63:55: error: stray '#' in program
   63 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:67:5: error: stray '@' in program
   67 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |     ^
a.cc:67:55: error: stray '#' in program
   67 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# ./c
      |                                                       ^
a.cc:70:5: error: stray '@' in program
   70 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# cd ../169/
      |     ^
a.cc:70:55: error: stray '#' in program
   70 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/170# cd ../169/
      |                                                       ^
a.cc:71:5: error: stray '@' in program
   71 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |     ^
a.cc:71:55: error: stray '#' in program
   71 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |                                                       ^
a.cc:75:5: error: stray '@' in program
   75 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |     ^
a.cc:75:55: error: stray '#' in program
   75 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |                                                       ^
a.cc:80:5: error: stray '@' in program
   80 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |     ^
a.cc:80:55: error: stray '#' in program
   80 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./b
      |                                                       ^
a.cc:84:5: error: stray '@' in program
   84 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:84:55: error: stray '#' in program
   84 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:87:5: error: stray '@' in program
   87 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:87:55: error: stray '#' in program
   87 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:90:5: error: stray '@' in program
   90 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:90:55: error: stray '#' in program
   90 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:93:5: error: stray '@' in program
   93 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:93:55: error: stray '#' in program
   93 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:96:5: error: stray '@' in program
   96 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#
      |     ^
a.cc:96:55: error: stray '#' in program
   96 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169#
      |                                                       ^
a.cc:97:5: error: stray '@' in program
   97 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:97:55: error: stray '#' in program
   97 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:100:5: error: stray '@' in program
  100 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:100:55: error: stray '#' in program
  100 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:103:5: error: stray '@' in program
  103 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:103:55: error: stray '#' in program
  103 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:106:5: error: stray '@' in program
  106 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:106:55: error: stray '#' in program
  106 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:109:5: error: stray '@' in program
  109 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:109:55: error: stray '#' in program
  109 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:112:5: error: stray '@' in program
  112 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:112:55: error: stray '#' in program
  112 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:114:5: error: stray '@' in program
  114 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |     ^
a.cc:114:55: error: stray '#' in program
  114 | root@3a1e9f100343:/workspaces/at-corder/passed/abc/169# ./c
      |                                                       ^
a.cc:117:5: error: stray '@' in program