Skip to content

Commit

Permalink
Solve Digits in python
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Jul 15, 2024
1 parent b6dd1be commit 949ffff
Show file tree
Hide file tree
Showing 6 changed files with 20,044 additions and 0 deletions.
5 changes: 5 additions & 0 deletions solutions/beecrowd/2867/2867.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
c = int(input())

for _ in range(c):
n, m = map(int, input().split())
print(len(str(n ** m)))
14 changes: 14 additions & 0 deletions solutions/beecrowd/2867/generate_in.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -euo pipefail

LIMIT_I=100
LIMIT_J=100

echo "$((LIMIT_I * LIMIT_J))"

for i in $(seq 100); do
for j in $(seq 100); do
echo "${i} ${j}"
done
done
Loading

0 comments on commit 949ffff

Please sign in to comment.