Pagini recente » Borderou de evaluare (job #1552159) | Borderou de evaluare (job #1213070) | Borderou de evaluare (job #2107041) | Borderou de evaluare (job #1644933) | Borderou de evaluare (job #1309586)
Borderou de evaluare (job #1309586)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int prod(long long int, long long int)’:
user.cpp:6:15: warning: unused variable ‘p’ [-Wunused-variable]
long long p,s;
^
user.cpp: In function ‘int main()’:
user.cpp:25:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(p&1!=0)R=prod(R,A)%mod;
^
user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.in","r",stdin);
^
user.cpp:20:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.out","w",stdout);
^
user.cpp:21:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&A,&p,&mod);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | Depăşit | 228kb | Time limit exceeded. | 0 |
7 | Depăşit | 232kb | Time limit exceeded. | 0 |
8 | Depăşit | 228kb | Time limit exceeded. | 0 |
9 | Depăşit | 232kb | Time limit exceeded. | 0 |
10 | Depăşit | 228kb | Time limit exceeded. | 0 |
Punctaj total | 0 |