Submission #1759136
Source Code Expand
#include<cstdio> #include<cstring> using namespace std; int main(){ char s[20]; scanf("%s", s); strcat(s, "pp"); printf("%s\n", s); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - ハンドルネーム |
User | orpheus |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 161 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | sample_01.txt, sample_02.txt, test_aaaaaaaaaa.txt, test_myonmyon.txt, test_nemui.txt, test_onakasuita.txt, test_p.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 1 ms | 128 KB |
sample_02.txt | AC | 1 ms | 128 KB |
test_aaaaaaaaaa.txt | AC | 1 ms | 128 KB |
test_myonmyon.txt | AC | 1 ms | 128 KB |
test_nemui.txt | AC | 1 ms | 128 KB |
test_onakasuita.txt | AC | 1 ms | 128 KB |
test_p.txt | AC | 1 ms | 128 KB |