diff --git a/problem/P5744/P5744.cpp b/problem/P5744/P5744.cpp new file mode 100644 index 00000000..978acce2 --- /dev/null +++ b/problem/P5744/P5744.cpp @@ -0,0 +1,19 @@ +// R38782109 + +#include + +using namespace std; + +int main() { + int n; + string name; + int age; + int score; + + cin >> n; + for (int i = 0; i < n; i++) { + cin >> name >> age >> score; + cout << name << ' ' << ++age << ' ' << ((int)(score * 1.2) > 600 ? 600 : (int)(score * 1.2)) << endl; + } + return 0; +}