Pagini recente » Borderou de evaluare (job #606566) | Borderou de evaluare (job #2236531) | Borderou de evaluare (job #1228032) | Borderou de evaluare (job #1426330) | Borderou de evaluare (job #1538041)
Borderou de evaluare (job #1538041)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%lld%d",&n,&k);
^
user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 440ms | 8080kb | OK | 100 |
Punctaj total | 100 |