Pagini recente » Borderou de evaluare (job #873181) | Borderou de evaluare (job #406967) | Borderou de evaluare (job #1778186) | Borderou de evaluare (job #1889102) | Borderou de evaluare (job #1284116)
Borderou de evaluare (job #1284116)
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:57:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[(n&1)][1][1][1]);
^
user.cpp:73:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", dp[(n&1)][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 | 264kb | Raspuns corect! | 10 |
2 | 0ms | 264kb | Raspuns corect! | 10 |
3 | 0ms | 268kb | Raspuns corect! | 10 |
4 | 0ms | 268kb | Raspuns corect! | 10 |
5 | 0ms | 272kb | Raspuns corect! | 10 |
6 | 0ms | 272kb | Raspuns corect! | 10 |
7 | 0ms | 280kb | Raspuns partial corect! | 4 |
8 | 0ms | 284kb | Raspuns partial corect! | 4 |
9 | 0ms | 280kb | Raspuns partial corect! | 4 |
10 | 0ms | 280kb | Raspuns gresit! | 0 |
Punctaj total | 72 |