Pagini recente » Borderou de evaluare (job #1947372) | Borderou de evaluare (job #1339084) | Borderou de evaluare (job #1255763) | Borderou de evaluare (job #1210936) | Borderou de evaluare (job #2001151)
Borderou de evaluare (job #2001151)
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 | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 4ms | 308kb | OK | 10 |
9 | 0ms | 296kb | OK | 10 |
10 | 40ms | 568kb | OK | 10 |
Punctaj total | 100 |