Borderou de evaluare (job #1067498)

Utilizator bghimisFMI Ghimis Bogdan bghimis Data 26 decembrie 2013 22:10:02
Problema Coduri Huffman Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In constructor ‘Nod::Nod(Nod*, Nod*, long long int)’: user.cpp:19:22: warning: ‘Nod::nodInternal2’ will be initialized after [-Wreorder] Nod *nodInternal1, *nodInternal2; ^ user.cpp:16:12: warning: ‘long long int Nod::suma’ [-Wreorder] long long suma; ^ user.cpp:25:2: warning: when initialized here [-Wreorder] Nod (Nod *nod1Nou, Nod *nod2Nou, long long sumaNoua) : nodInternal1(nod1Nou), nodInternal2(nod2Nou), suma(sumaNoua), nod1(-1) { } ^ user.cpp:16:12: warning: ‘Nod::suma’ will be initialized after [-Wreorder] long long suma; ^ user.cpp:15:12: warning: ‘long long int Nod::nod1’ [-Wreorder] long long nod1, nod2; ^ user.cpp:25:2: warning: when initialized here [-Wreorder] Nod (Nod *nod1Nou, Nod *nod2Nou, long long sumaNoua) : nodInternal1(nod1Nou), nodInternal2(nod2Nou), suma(sumaNoua), nod1(-1) { } ^ user.cpp: In function ‘void Inordine(FILE*, Nod*)’: user.cpp:82:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] fprintf (out, "%d %d\n", path.size(), toBaza(path, 2, 10)); ^ user.cpp: At global scope: user.cpp:98:5: warning: first argument of ‘int main(long long int, char**)’ should be ‘int’ [-Wmain] int main(long long argc, char* argv[]) ^ user.cpp: In function ‘int main(long long int, char**)’: user.cpp:106:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] long long i, n; fscanf (in, "%d", &n); ^ user.cpp:109:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] long long x; fscanf (in, "%d", &x); ^ user.cpp:135:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf (out, "%d\n", suma); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit7336kbTime limit exceeded.0
2Depăşit8536kbTime limit exceeded.0
3Depăşit8532kbTime limit exceeded.0
4Depăşit8532kbTime limit exceeded.0
5Depăşit8536kbTime limit exceeded.0
6Depăşit8536kbTime limit exceeded.0
7Depăşit8532kbTime limit exceeded.0
8Depăşit8536kbTime limit exceeded.0
9Depăşit8536kbTime limit exceeded.0
10Depăşit8532kbTime limit exceeded.0
11Depăşit8536kbTime limit exceeded.0
12Depăşit8536kbTime limit exceeded.0
13Depăşit16724kbTime limit exceeded.0
14Depăşit33108kbTime limit exceeded.0
15Depăşit33108kbTime limit exceeded.0
16Depăşit33112kbTime limit exceeded.0
17Depăşit33112kbTime limit exceeded.0
18Depăşit33112kbTime limit exceeded.0
19792msDepăşitMemory limit exceeded.0
20792msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?