Skip to content

Commit

Permalink
Add beecrowd problem 2761
Browse files Browse the repository at this point in the history
  • Loading branch information
ithallotulio committed Jul 13, 2024
1 parent 3e53bf5 commit 55ea247
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions beecrowd/1-beginner/2761.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include <bits/stdc++.h>

using namespace std;

int main() {
int a;
float b;
char c;
string d;

cin >> a >> b >> c;
cin.ignore();
getline(cin, d);

printf("%d%f%c%s\n", a, b, c, d.c_str());
printf("%d\t%f\t%c\t%s\n", a, b, c, d.c_str());
printf("%10d%10f%10c%10s\n", a, b, c, d.c_str());

return 0;
}

0 comments on commit 55ea247

Please sign in to comment.