Borderou de evaluare (job #1777199)

Utilizator Dragne.Andrei11Dragne Andrei Dragne.Andrei11 Data 12 octombrie 2016 09:44:38
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", &d); ^ user.cpp:78:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in", "r", stdin); ^ user.cpp:79:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out", "w", stdout); ^ user.cpp:82:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", &d); ^ user.cpp: In member function ‘Hugen Hugen::operator+(long long int)’: user.cpp:63:25: warning: ‘tr’ may be used uninitialized in this function [-Wmaybe-uninitialized] temp.x[++temp.x[0]]=tr; ^ /tmp/cc3hbOdA.o: In function `main': user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4156kbKilled by signal 11(SIGSEGV).0
24ms4164kbKilled by signal 11(SIGSEGV).0
30ms288kbOK10
40ms328kbOK10
54ms4320kbKilled by signal 11(SIGSEGV).0
68ms4652kbKilled by signal 11(SIGSEGV).0
716ms5444kbKilled by signal 11(SIGSEGV).0
836ms7416kbKilled by signal 11(SIGSEGV).0
948msDepăşitMemory limit exceeded.0
104ms1280kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?