Pagini recente » Borderou de evaluare (job #2065764) | Borderou de evaluare (job #2512411) | Borderou de evaluare (job #1916103) | Borderou de evaluare (job #1305807) | Borderou de evaluare (job #1418610)
Borderou de evaluare (job #1418610)
Raport evaluator
Compilare:
user.cpp: In function ‘int number(std::pair<int, int>, bool)’:
user.cpp:26:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < H[ind].size(); ++i)
^
user.cpp:27:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (H[ind][i].code == xhashing) if (mod) return H[ind][i].nr;
^
user.cpp: In function ‘int main()’:
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:93:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S+1);
^
/tmp/ccDVGfpO.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4216kb | Time limit exceeded. | 0 |
2 | 100ms | 3956kb | OK | 10 |
3 | Depăşit | 3740kb | Time limit exceeded. | 0 |
4 | 20ms | 1116kb | OK | 10 |
5 | 88ms | 3304kb | OK | 10 |
6 | 92ms | 3772kb | OK | 10 |
7 | 0ms | 408kb | OK | 10 |
8 | 0ms | 424kb | OK | 10 |
9 | 0ms | 504kb | OK | 10 |
10 | 68ms | 2372kb | OK | 10 |
Punctaj total | 80 |