Borderou de evaluare (job #1596663)

Utilizator atatomirTatomir Alex atatomir Data 11 februarie 2016 11:37:52
Problema Sir8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void bucket_to_char()’: user.cpp:54:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < act.size(); i++) ^ user.cpp: In function ‘void add_to(int, char)’: user.cpp:80:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < bucket.size(); i++) { ^ user.cpp:81:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (bucket[i].size() < pos) { ^ user.cpp: In function ‘int get_bucket(int)’: user.cpp:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < bucket.size(); i++) ^ user.cpp: In function ‘int get_big_hash(int, int)’: user.cpp:106:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < bucket.size(); i++) ^ user.cpp:102:12: warning: unused variable ‘pos’ [-Wunused-variable] int i, pos, how; ^ user.cpp:102:17: warning: unused variable ‘how’ [-Wunused-variable] int i, pos, how; ^ user.cpp: In function ‘int get_bucket(int)’: user.cpp:99:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:130:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.in","r",stdin); ^ user.cpp:131:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.out","w",stdout); ^ user.cpp:133:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n%d\n", s + 1, &cuv); ^ user.cpp:137:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", aux + 1); ^ user.cpp:147:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:156:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:165:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c %d %d", &poz, &c, &a, &b);
Test Timp executie Memorie folosita Mesaj Punctaj/test
160ms600kbOK10
228ms592kbOK10
376ms1080kbKilled by signal 11(SIGSEGV).0
424ms1016kbKilled by signal 11(SIGSEGV).0
512ms996kbKilled by signal 11(SIGSEGV).0
616ms1004kbKilled by signal 11(SIGSEGV).0
736ms1028kbKilled by signal 11(SIGSEGV).0
832ms1060kbKilled by signal 11(SIGSEGV).0
916ms1008kbKilled by signal 11(SIGSEGV).0
10112ms1012kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?