Pagini recente » Borderou de evaluare (job #1916082) | Borderou de evaluare (job #2438906) | Borderou de evaluare (job #1232772) | Borderou de evaluare (job #2471127) | Borderou de evaluare (job #2210570)
Borderou de evaluare (job #2210570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=]
scanf("%d %d %d", &n, &d, &k);
^
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int64_t* {aka long long int*}’ [-Wformat=]
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int64_t* {aka long long int*}’ [-Wformat=]
user.cpp:25:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t {aka long long int}’ [-Wformat=]
printf("%d", pow(d, n - (d * k)));
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.in", "r", stdin);
^
user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.out", "w", stdout);
^
user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &d, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | Incorect | 0 |
2 | 0ms | 756kb | Incorect | 0 |
3 | 0ms | 752kb | Incorect | 0 |
4 | 0ms | 804kb | Incorect | 0 |
5 | 0ms | 756kb | Incorect | 0 |
6 | 0ms | 752kb | Incorect | 0 |
7 | 0ms | 756kb | OK | 10 |
8 | 0ms | 796kb | Incorect | 0 |
9 | 0ms | 864kb | OK | 10 |
10 | 0ms | 756kb | OK | 10 |
Punctaj total | 30 |