Pagini recente » Borderou de evaluare (job #1260579) | Borderou de evaluare (job #3112722) | Borderou de evaluare (job #2443661) | Borderou de evaluare (job #3020891) | Borderou de evaluare (job #2341669)
Borderou de evaluare (job #2341669)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:35: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld",exp(n%MOD,p)%MOD);
^
main.cpp:18: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);
^
main.cpp:19: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);
^
main.cpp:21:28: 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 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 2ms | 131kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |