Submission #17476685


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

int main(){
	int N; cin>>N;
	
	for(int i = 1; i < N; i++){
		if ( N % i == 0){
			cout<<i<<endl;
		}
	}
	cout<<N<< endl;
	return 0;
}

Submission Info

Submission Time
Task C - Cream puff
User adewuyiisrael
Language C++ (GCC 9.2.1)
Score 0
Code Size 193 Byte
Status TLE
Exec Time 2205 ms
Memory 3624 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 2
TLE × 1
AC × 6
TLE × 20
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, hand_10.txt, hand_11.txt, hand_12.txt, hand_13.txt, hand_14.txt, hand_15.txt, hand_88.txt, hand_99.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
hand_01.txt TLE 2205 ms 3252 KB
hand_02.txt TLE 2205 ms 3232 KB
hand_03.txt TLE 2205 ms 3240 KB
hand_04.txt TLE 2205 ms 3308 KB
hand_05.txt TLE 2205 ms 3196 KB
hand_06.txt TLE 2205 ms 3292 KB
hand_07.txt TLE 2205 ms 3236 KB
hand_08.txt TLE 2205 ms 3304 KB
hand_09.txt TLE 2205 ms 3148 KB
hand_10.txt TLE 2205 ms 3236 KB
hand_11.txt TLE 2205 ms 3176 KB
hand_12.txt TLE 2205 ms 3236 KB
hand_13.txt TLE 2205 ms 3304 KB
hand_14.txt TLE 2205 ms 3200 KB
hand_15.txt TLE 2205 ms 3304 KB
hand_88.txt TLE 2205 ms 3252 KB
hand_99.txt AC 8 ms 3556 KB
random_01.txt TLE 2205 ms 3196 KB
random_02.txt AC 10 ms 3620 KB
random_03.txt TLE 2205 ms 3132 KB
random_04.txt AC 12 ms 3624 KB
random_05.txt TLE 2205 ms 3236 KB
random_06.txt AC 8 ms 3424 KB
sample_01.txt AC 2 ms 3608 KB
sample_02.txt AC 2 ms 3516 KB
sample_03.txt TLE 2205 ms 3236 KB