Pagini recente » Borderou de evaluare (job #1074207) | Borderou de evaluare (job #1261871) | Borderou de evaluare (job #2184671) | Borderou de evaluare (job #1380787) | Borderou de evaluare (job #1334107)
Borderou de evaluare (job #1334107)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:24:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i;
^
user.cpp:21:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("huffman.in","r",stdin);
^
user.cpp:23:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:24:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%d",&a[i].v),q[i][0]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK! | 5 |
2 | 0ms | 452kb | OK! | 5 |
3 | 0ms | 452kb | OK! | 5 |
4 | 0ms | 456kb | OK! | 5 |
5 | 4ms | 728kb | OK! | 5 |
6 | 4ms | 728kb | OK! | 5 |
7 | 24ms | 1544kb | OK! | 5 |
8 | 24ms | 1548kb | OK! | 5 |
9 | 76ms | 3736kb | OK! | 5 |
10 | 76ms | 3744kb | OK! | 5 |
11 | 128ms | 5924kb | OK! | 5 |
12 | 132ms | 5924kb | OK! | 5 |
13 | 184ms | 8272kb | Lungime incorecta! | 0 |
14 | 456ms | 19980kb | Lungime incorecta! | 0 |
15 | 756ms | 31704kb | Lungime incorecta! | 0 |
16 | 736ms | 31704kb | Lungime incorecta! | 0 |
17 | 828ms | 35616kb | Lungime incorecta! | 0 |
18 | 840ms | 35616kb | Lungime incorecta! | 0 |
19 | 920ms | 39508kb | Lungime incorecta! | 0 |
20 | 948ms | 39508kb | Lungime incorecta! | 0 |
Punctaj total | 60 |