Pagini recente » Borderou de evaluare (job #125121) | Borderou de evaluare (job #482656) | Borderou de evaluare (job #502186) | Borderou de evaluare (job #451531) | 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 |