Pagini recente » Borderou de evaluare (job #45469) | Borderou de evaluare (job #2551199) | Borderou de evaluare (job #3208056) | Borderou de evaluare (job #474552) | Borderou de evaluare (job #1929633)
Borderou de evaluare (job #1929633)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.in","r",stdin);
^
user.cpp:20:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.out","w",stdout);
^
user.cpp:36:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&p);
^
user.cpp:61:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:62:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= 2*n; i++) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 4352kb | OK | 10 |
2 | 56ms | 4360kb | OK | 10 |
3 | 432ms | 4360kb | OK | 10 |
4 | 412ms | 4364kb | OK | 10 |
5 | 444ms | 4356kb | OK | 10 |
6 | 376ms | 4360kb | OK | 10 |
7 | 412ms | 4360kb | OK | 10 |
8 | 56ms | 4360kb | OK | 10 |
9 | 8ms | 4352kb | OK | 10 |
10 | 4ms | 4356kb | OK | 10 |
Punctaj total | 100 |