Pagini recente » Borderou de evaluare (job #3120986) | Borderou de evaluare (job #1291962) | Borderou de evaluare (job #2858422) | Borderou de evaluare (job #147534) | Borderou de evaluare (job #1284111)
Borderou de evaluare (job #1284111)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", d[(n&1)][1][1]);
^
user.cpp:54:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[n][1][1][1]);
^
user.cpp:67:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", dp[n][1][1][k]);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("peisaj.in","r",stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("peisaj.out","w",stdout);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Raspuns corect! | 10 |
2 | 0ms | 312kb | Raspuns corect! | 10 |
3 | 0ms | 384kb | Raspuns corect! | 10 |
4 | 0ms | 492kb | Raspuns corect! | 10 |
5 | 0ms | 588kb | Raspuns corect! | 10 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |