Pagini recente » Borderou de evaluare (job #568908) | Borderou de evaluare (job #1122570) | Borderou de evaluare (job #2684168) | Borderou de evaluare (job #231413) | Borderou de evaluare (job #1769585)
Borderou de evaluare (job #1769585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[0][i]), a[1][i] = a[0][i];
^
user.cpp:30:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &b[i]);
^
user.cpp:23: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:24: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:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:28:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[0][i]), a[1][i] = a[0][i];
^
user.cpp:30:23: 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 | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 288kb | OK | 10 |
8 | 4ms | 304kb | OK | 10 |
9 | 0ms | 296kb | OK | 10 |
10 | 40ms | 560kb | OK | 10 |
Punctaj total | 100 |