Pagini recente » Borderou de evaluare (job #1317783) | Borderou de evaluare (job #3113663) | Borderou de evaluare (job #1622473) | Clasament newcomers_5 | Borderou de evaluare (job #2001147)
Borderou de evaluare (job #2001147)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:20:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &b[i]);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("leduri.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("leduri.out","w",stdout);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 0ms | 280kb | Incorect | 0 |
| 5 | 0ms | 280kb | Incorect | 0 |
| 6 | 0ms | 300kb | Incorect | 0 |
| 7 | 0ms | 296kb | OK | 10 |
| 8 | 4ms | 300kb | OK | 10 |
| 9 | 0ms | 292kb | OK | 10 |
| 10 | 36ms | 564kb | Incorect | 0 |
| Punctaj total | 50 |