Pagini recente » Borderou de evaluare (job #2639399) | Borderou de evaluare (job #2767187) | Borderou de evaluare (job #670690) | Borderou de evaluare (job #2769046) | Borderou de evaluare (job #1596685)
Borderou de evaluare (job #1596685)
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:112:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < bucket.size(); i++)
^
user.cpp:108:12: warning: unused variable ‘pos’ [-Wunused-variable]
int i, pos, how;
^
user.cpp:108:17: warning: unused variable ‘how’ [-Wunused-variable]
int i, pos, how;
^
user.cpp: In function ‘int get_bucket(int)’:
user.cpp:105:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:139: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:140: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:142: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:146: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:156:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:168:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:178: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 | 600kb | OK | 10 |
2 | 28ms | 596kb | OK | 10 |
3 | 1020ms | 1112kb | OK | 10 |
4 | 780ms | 1060kb | OK | 10 |
5 | 736ms | 1044kb | OK | 10 |
6 | 728ms | 1048kb | OK | 10 |
7 | 736ms | 1056kb | OK | 10 |
8 | 808ms | 1092kb | OK | 10 |
9 | 732ms | 1048kb | OK | 10 |
10 | 688ms | 1048kb | OK | 10 |
Punctaj total | 100 |