質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
std::cout<<"\n";
|
58
58
|
|
59
|
-
std::cout<<std::ato
|
59
|
+
std::cout<<std::atof(argv[1])<<"秒経過しました\n";
|
60
60
|
|
61
61
|
return 0;
|
62
62
|
|
2
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
for(i=0;i<50;i++){
|
44
44
|
|
45
|
-
sleep(std::ato
|
45
|
+
sleep(std::atof(argv[i])/50);
|
46
46
|
|
47
47
|
std::cout<<"\b";
|
48
48
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
std::cout<<"\n";
|
58
58
|
|
59
|
-
std::cout<<std::atoi(arg
|
59
|
+
std::cout<<std::atoi(argf[1])<<"秒経過しました\n";
|
60
60
|
|
61
61
|
return 0;
|
62
62
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
for(i=0;i<50;i++){
|
44
44
|
|
45
|
-
sleep();
|
45
|
+
sleep(std::atoi(argv[i])/50);
|
46
46
|
|
47
47
|
std::cout<<"\b";
|
48
48
|
|