Borderou de evaluare (job #1777247)

Utilizator Dragne.Andrei11Dragne Andrei Dragne.Andrei11 Data 12 octombrie 2016 10:14:03
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:83:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", &d); ^ user.cpp:77: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:78: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:81:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", &d); ^ /tmp/ccuZE7cZ.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
10ms260kbKilled by signal 11(SIGSEGV).0
20ms260kbKilled by signal 11(SIGSEGV).0
30ms288kbOK10
40ms340kbOK10
50ms420kbKilled by signal 11(SIGSEGV).0
64ms756kbKilled by signal 11(SIGSEGV).0
712ms1540kbKilled by signal 11(SIGSEGV).0
832ms3512kbKilled by signal 11(SIGSEGV).0
944ms4656kbKilled by signal 11(SIGSEGV).0
1048ms5136kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?