Pagini recente » Borderou de evaluare (job #1918907) | Borderou de evaluare (job #2398595) | Borderou de evaluare (job #3353381) | Borderou de evaluare (job #1256218) | Borderou de evaluare (job #2780841)
Borderou de evaluare (job #2780841)
Raport evaluator
Compilare:
main.c:6:5: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
6 | int exp(int a, int b, int s){
| ^~~
main.c:3:1: note: 'exp' is declared in header '<math.h>'
2 | #include <stdlib.h>
+++ |+#include <math.h>
3 | #define MOD 1000000007
main.c: In function 'main':
main.c:60:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
60 | fprintf(fout,"%d\n",s%MOD);
| ~^
| |
| int
| %lld
main.c:10:15: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
10 | return s*s*a % MOD;
| ~~~^~
main.c:32:18: note: 'x' was declared here
32 | int t,n,k,ti,i,x;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 703ms | 245kb | Time limit exceeded | 0 |
| Punctaj total | 0 |