Pagini recente » Borderou de evaluare (job #145532) | Borderou de evaluare (job #2195191) | Borderou de evaluare (job #2792159) | Borderou de evaluare (job #416266) | Borderou de evaluare (job #1596663)
Borderou de evaluare (job #1596663)
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 |
1 | 60ms | 600kb | OK | 10 |
2 | 28ms | 592kb | OK | 10 |
3 | 76ms | 1080kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 24ms | 1016kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 12ms | 996kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 16ms | 1004kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 36ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 32ms | 1060kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 1008kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 112ms | 1012kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |