fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. for (int i = 100 ; i >= 0 ; i--) {
  6. cout << i << " - " << "FFFFFFDCBAA"[i/10] << endl;
  7. }
  8. return 0;
  9. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
100 - A
99 - A
98 - A
97 - A
96 - A
95 - A
94 - A
93 - A
92 - A
91 - A
90 - A
89 - B
88 - B
87 - B
86 - B
85 - B
84 - B
83 - B
82 - B
81 - B
80 - B
79 - C
78 - C
77 - C
76 - C
75 - C
74 - C
73 - C
72 - C
71 - C
70 - C
69 - D
68 - D
67 - D
66 - D
65 - D
64 - D
63 - D
62 - D
61 - D
60 - D
59 - F
58 - F
57 - F
56 - F
55 - F
54 - F
53 - F
52 - F
51 - F
50 - F
49 - F
48 - F
47 - F
46 - F
45 - F
44 - F
43 - F
42 - F
41 - F
40 - F
39 - F
38 - F
37 - F
36 - F
35 - F
34 - F
33 - F
32 - F
31 - F
30 - F
29 - F
28 - F
27 - F
26 - F
25 - F
24 - F
23 - F
22 - F
21 - F
20 - F
19 - F
18 - F
17 - F
16 - F
15 - F
14 - F
13 - F
12 - F
11 - F
10 - F
9 - F
8 - F
7 - F
6 - F
5 - F
4 - F
3 - F
2 - F
1 - F
0 - F