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:
parent
97ee725ba5
commit
68a6439641
14
Luogu/problem/CF1553A/CF1553A.cpp
Normal file
14
Luogu/problem/CF1553A/CF1553A.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user