Borderou de evaluare (job #2002424)

Utilizator zvonTutuldunsa Voronokda zvon Data 19 iulie 2017 20:21:19
Problema Alibaba Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (t.size() > n - k) { ^ user.cpp:8:8: warning: variable ‘fi’ set but not used [-Wunused-but-set-variable] FILE *fi, *fo; ^ user.cpp:8:13: warning: variable ‘fo’ set but not used [-Wunused-but-set-variable] FILE *fi, *fo; ^ user.cpp:12:10: warning: unused variable ‘f’ [-Wunused-variable] char c, f; ^ user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:21:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbKilled by signal 11(SIGSEGV).0
20ms404kbKilled by signal 11(SIGSEGV).0
30ms408kbKilled by signal 11(SIGSEGV).0
40ms404kbKilled by signal 11(SIGSEGV).0
50ms412kbKilled by signal 11(SIGSEGV).0
60ms412kbKilled by signal 11(SIGSEGV).0
70ms412kbKilled by signal 11(SIGSEGV).0
80ms408kbKilled by signal 11(SIGSEGV).0
90ms416kbKilled by signal 11(SIGSEGV).0
100ms436kbOK10
Punctaj total10

Ceva nu functioneaza?