Pagini recente » Borderou de evaluare (job #1713530) | Borderou de evaluare (job #1721185) | Borderou de evaluare (job #1401925) | Borderou de evaluare (job #1268724) | Borderou de evaluare (job #1615895)
Borderou de evaluare (job #1615895)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.in","r",stdin);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.out","w",stdout);
^
user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&b[i],&a[i]);
^
user.cpp:43:19: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x=((answer-a[i])/b[i])+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 12ms | 368kb | OK | 10 |
4 | 44ms | 724kb | OK | 10 |
5 | 60ms | 880kb | OK | 10 |
6 | 80ms | 1040kb | OK | 10 |
7 | 276ms | 1812kb | OK | 10 |
8 | 288ms | 1808kb | OK | 10 |
9 | 316ms | 1812kb | OK | 10 |
10 | 328ms | 1812kb | OK | 10 |
Punctaj total | 100 |