Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

 
 
 
 
General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
7383699 Contestant:
ashashwat
456B - 22 Python 2 Accepted 514 ms 5424 KB 2014-08-08 20:02:05 2014-08-08 22:39:25
→ Source
#!/usr/bin/env python
#-*- coding: utf-8 -*-

from collections import defaultdict
from math import factorial as f
from fractions import gcd as g

n = int (raw_input ())
ret = 0
for i in range (1, 5):
    ret += pow (i, n, 5);
print ret % 5
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details