Pagini recente » Borderou de evaluare (job #794917) | Borderou de evaluare (job #1415147) | Borderou de evaluare (job #2038381) | Borderou de evaluare (job #2161693) | Borderou de evaluare (job #1244680)
Borderou de evaluare (job #1244680)
Raport evaluator
Compilare:
user.c: In function ‘lgput’:
user.c:22:20: warning: operation on ‘l’ may be undefined [-Wsequence-point]
return ((l = lgput(n, p >> 1)) * l) % mod;
^
user.c: In function ‘main’:
user.c:32:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 2 has type ‘Int *’ [-Wformat=]
scanf("%llu %llu", &n, &p);
^
user.c:32:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘Int *’ [-Wformat=]
user.c:33:5: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%llu\n", lgput(n, p) % mod);
^
user.c:29:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.c:30:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu %llu", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Incorect | 0 |
2 | 0ms | 248kb | Incorect | 0 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 0ms | 244kb | Incorect | 0 |
8 | 0ms | 244kb | Incorect | 0 |
9 | 0ms | 248kb | Incorect | 0 |
10 | 0ms | 248kb | Incorect | 0 |
Punctaj total | 0 |