Pagini recente » Borderou de evaluare (job #2830701) | Borderou de evaluare (job #816622) | Borderou de evaluare (job #1662180) | Borderou de evaluare (job #2488004) | Borderou de evaluare (job #1543454)
Borderou de evaluare (job #1543454)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:23: warning: left operand of comma operator has no effect [-Wunused-value]
for(i=1,j=k;j>0;i,j){
^
user.cpp:42:23: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:27:15: warning: unused variable ‘min’ [-Wunused-variable]
int n, i, min=INT_MAX, k, a, b;
^
user.cpp:30:10: warning: unused variable ‘mf’ [-Wunused-variable]
bool mf=true;
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.in", "r", stdin);
^
user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbetray.out", "w", stdout);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 260kb | Incorect | 0 |
✗ | 2 | 0ms | 264kb | Incorect | 0 |
✗ | 3 | 0ms | 260kb | Incorect | 0 |
✗ | 4 | 0ms | 264kb | Incorect | 0 |
✗ | 5 | 0ms | 268kb | Incorect | 0 |
✗ | 6 | 8ms | 336kb | Incorect | 0 |
✗ | 7 | 96ms | 1036kb | Incorect | 0 |
✗ | 8 | 92ms | 1032kb | Incorect | 0 |
✓ | 9 | 96ms | 1032kb | Incorect | 0 |
✗ | 10 | 96ms | 1036kb | Incorect | 0 |
Punctaj total | 0 |