0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-09 23:38:47 +00:00

CF1553A Digits Sum

R53955241
This commit is contained in:
Baoshuo Ren 2021-07-23 08:51:54 +08:00 committed by Baoshuo Ren
parent 97ee725ba5
commit 68a6439641
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -0,0 +1,14 @@
#include <bits/stdc++.h>
using namespace std;
int t, n;
int main() {
cin >> t;
while (t--) {
cin >> n;
cout << (n + 1) / 10 << endl;
}
return 0;
}