Pagini recente » Borderou de evaluare (job #493042) | Borderou de evaluare (job #2833123) | Borderou de evaluare (job #632832) | Borderou de evaluare (job #536194) | Borderou de evaluare (job #1502238)
Borderou de evaluare (job #1502238)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int putere(long long int, long long int)’:
user.cpp:7:32: warning: value computed is not used [-Wunused-value]
if (b<0) putere(1/n,(-1)*p)%MOD;
^
user.cpp:10:36: warning: left operand of comma operator has no effect [-Wunused-value]
else return a*putere(((1LL*a*a)%MOD,b/2),(b-1)/2)%MOD;
^
user.cpp:11:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out","w",stdout);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 288kb | Incorect | 0 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 10 |