Borderou de evaluare (job #1777197)

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

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/cczc6phR.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
10ms280kbIncorect0
20ms288kbIncorect0
30ms280kbOK10
40ms304kbKilled by signal 6(SIGABRT).0
50ms300kbKilled by signal 6(SIGABRT).0
60ms304kbKilled by signal 6(SIGABRT).0
70ms304kbKilled by signal 6(SIGABRT).0
80ms308kbKilled by signal 6(SIGABRT).0
90ms308kbKilled by signal 6(SIGABRT).0
100ms304kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?