Pagini recente » Borderou de evaluare (job #2562774) | Borderou de evaluare (job #1654405) | Borderou de evaluare (job #30507) | Borderou de evaluare (job #3272979) | Borderou de evaluare (job #1596674)
Borderou de evaluare (job #1596674)
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:100: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:110:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < bucket.size(); i++)
^
user.cpp:106:12: warning: unused variable ‘pos’ [-Wunused-variable]
int i, pos, how;
^
user.cpp:106:17: warning: unused variable ‘how’ [-Wunused-variable]
int i, pos, how;
^
user.cpp: In function ‘int get_bucket(int)’:
user.cpp:103:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:134: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:135: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:137: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:141: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:151:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:160:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:169: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 |
1 | 60ms | 596kb | OK | 10 |
2 | 28ms | 592kb | OK | 10 |
3 | 20ms | 968kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 932kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 916kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 12ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 932kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 12ms | 972kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 12ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 20ms | 916kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |