Submission #1371678


Source Code Expand

#include<iostream>
using namespace std;

int main()
{
 int S, T, i;
cin >> S >> T;
while(S <= T; S++){
i++;}
cout << i << endl;
return 0;
}

Submission Info

Submission Time
Task A - アルバム
User wiiu3dsps
Language C++14 (GCC 5.4.1)
Score 0
Code Size 150 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:8:13: error: expected ‘)’ before ‘;’ token
 while(S <= T; S++){
             ^
./Main.cpp:8:18: error: expected ‘;’ before ‘)’ token
 while(S <= T; S++){
                  ^