Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

 
 
 
 
General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
122598472 Practice:
solacerxt
1526B - 22 C++17 (GCC 7-32) Accepted 62 ms 3656 KB 2021-07-15 18:38:30 2021-07-15 18:42:57
→ Source
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;

int main() {
    int t;
    cin >> t;


    while (t--)
    {
        int x;
        cin >> x;
        int a = x % 11;
        cout << ((x - a) / 11 - 10 * a >= 0 ? "YES" : "NO") << endl;
    }
}
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details