mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2025-01-26 01:20:05 +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…
x
Reference in New Issue
Block a user