Pagini recente » Borderou de evaluare (job #2095489) | Borderou de evaluare (job #1458982) | Borderou de evaluare (job #1350483) | Borderou de evaluare (job #1510003) | Borderou de evaluare (job #1725145)
Borderou de evaluare (job #1725145)
Raport evaluator
Compilare:
user.cpp: In function ‘void baga(int)’:
user.cpp:10:21: warning: unused variable ‘x’ [-Wunused-variable]
int i, nr, val, x, mmin = INF;
^
user.cpp: In function ‘void solve()’:
user.cpp:25:12: warning: unused variable ‘val’ [-Wunused-variable]
int i, val, x;
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:31:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), A[i&1][x]++;
^
user.cpp: In function ‘int main()’:
user.cpp:39:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind2.in", "rt", stdin);
^
user.cpp:40:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind2.out", "wt", stdout);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &teste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | OK | 10 |
2 | 44ms | 340kb | OK | 10 |
3 | 44ms | 348kb | OK | 10 |
4 | 24ms | 344kb | OK | 10 |
5 | 16ms | 344kb | OK | 10 |
6 | 32ms | 344kb | OK | 10 |
7 | 48ms | 344kb | OK | 10 |
8 | 48ms | 344kb | OK | 10 |
9 | 48ms | 340kb | OK | 10 |
10 | 0ms | 340kb | OK | 10 |
Punctaj total | 100 |