結果
| 問題 | 
                            No.300 平方数
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kongarishisyamo
                         | 
                    
| 提出日時 | 2016-05-02 02:01:41 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 177 bytes | 
| コンパイル時間 | 480 ms | 
| コンパイル使用メモリ | 55,808 KB | 
| 実行使用メモリ | 13,640 KB | 
| 最終ジャッジ日時 | 2024-10-05 01:47:13 | 
| 合計ジャッジ時間 | 3,186 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 TLE * 1 | 
| other | -- * 43 | 
コンパイルメッセージ
main.cpp:1:19: warning: extra tokens at end of #include directive
    1 | #include<iostream>=
      |                   ^
            
            ソースコード
#include<iostream>=
#include<string>
using namespace std;
int main(){
	long long X,Y,Z;
	cin>>X;
	for(Z=1;;Z++){
		if(Z*Z%X==0){
			cout<<Z*Z/X<<endl;
			return 0;
		}
	}
}
            
            
            
        
            
kongarishisyamo