Pagini recente » Borderou de evaluare (job #449180) | Borderou de evaluare (job #2588818) | Borderou de evaluare (job #1282690) | Borderou de evaluare (job #2427027) | Borderou de evaluare (job #2092430)
Borderou de evaluare (job #2092430)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &N);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.in", "r", stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.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:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 0; i < N; i++) scanf("%lld", &A[i]); sort(A, A + N);
^
user.cpp:17:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 0; i < N; i++) scanf("%lld", &B[i]); sort(B, B + N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 40ms | 1044kb | OK | 10 |
6 | 84ms | 1828kb | OK | 10 |
7 | 96ms | 1824kb | OK | 10 |
8 | 84ms | 1832kb | OK | 10 |
9 | 88ms | 1828kb | OK | 10 |
10 | 92ms | 1832kb | OK | 10 |
Punctaj total | 100 |