Pagini recente » Borderou de evaluare (job #1172086) | Borderou de evaluare (job #655823) | Borderou de evaluare (job #1300444) | Borderou de evaluare (job #2132889) | Borderou de evaluare (job #1660397)
Borderou de evaluare (job #1660397)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",n-k);
^
user.cpp:9:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out","w",stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 10 |
2 | 0ms | 284kb | OK! | 10 |
3 | 0ms | 280kb | OK! | 10 |
4 | 0ms | 284kb | OK! | 10 |
5 | 0ms | 280kb | OK! | 10 |
6 | 0ms | 276kb | OK! | 10 |
7 | 4ms | 276kb | OK! | 10 |
8 | 8ms | 280kb | OK! | 10 |
9 | 12ms | 280kb | OK! | 10 |
10 | 4ms | 280kb | Wrong answer! | 0 |
Punctaj total | 90 |