Pagini recente » Borderou de evaluare (job #243989) | Borderou de evaluare (job #956056) | Borderou de evaluare (job #1721468) | Borderou de evaluare (job #2362690) | Borderou de evaluare (job #1422524)
Borderou de evaluare (job #1422524)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",nr[n][K]);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prezenta.in","r",stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prezenta.out","w",stdout);
^
user.cpp:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 100 |
Punctaj total | 100 |