Borderou de evaluare (job #2028183)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 27 septembrie 2017 12:19:30
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int Search(long long int)’: user.cpp:15:9: warning: unused variable ‘key’ [-Wunused-variable] int key = x % (1LL * MOD); ^ user.cpp: In function ‘int main()’: user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ user.cpp:30:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(text + 1), n = strlen(text + 1); ^ user.cpp:32:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1), m = strlen(s + 1); ^ user.cpp:45:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/cc5i5hms.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms788kbOK100
20ms788kbOK10
30ms752kbKilled by signal 11(SIGSEGV).0
40ms832kbKilled by signal 11(SIGSEGV).0
58ms1136kbKilled by signal 11(SIGSEGV).0
624ms2104kbKilled by signal 11(SIGSEGV).0
760ms6272kbKilled by signal 11(SIGSEGV).0
888ms11152kbKilled by signal 11(SIGSEGV).0
988ms11152kbKilled by signal 11(SIGSEGV).0
1096ms11148kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?