Borderou de evaluare (job #1392296)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 18 martie 2015 16:11:08
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:36:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", &query); ^ user.cpp: In function ‘void Read()’: user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); len = strlen(S); ^ user.cpp: In function ‘void Solve()’: user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:36:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", &query); ^ /tmp/ccdSkOC8.o: In function `Read()': user.cpp:(.text+0x1c0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms216kbKilled by signal 11(SIGSEGV).0
28ms220kbKilled by signal 11(SIGSEGV).0
38ms216kbKilled by signal 11(SIGSEGV).0
48ms212kbKilled by signal 11(SIGSEGV).0
58ms216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?