Pagini recente » Borderou de evaluare (job #315706) | Borderou de evaluare (job #1941805) | Borderou de evaluare (job #315742) | Borderou de evaluare (job #1722157) | Borderou de evaluare (job #1418565)
Borderou de evaluare (job #1418565)
Raport evaluator
Compilare:
user.cpp: In function ‘int number(int, bool)’:
user.cpp:27:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < H[ind].size(); ++i)
^
user.cpp:28: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:91: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:92: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:94: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:96:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S+1);
^
/tmp/ccG4u6Sg.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 | 9680kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 10056kb | Time limit exceeded. | 0 |
| 3 | 60ms | 8940kb | OK | 10 |
| 4 | 52ms | 8552kb | OK | 10 |
| 5 | 72ms | 9096kb | OK | 10 |
| 6 | Depăşit | 10116kb | Time limit exceeded. | 0 |
| 7 | 28ms | 8096kb | OK | 10 |
| 8 | 16ms | 8100kb | OK | 10 |
| 9 | 40ms | 8168kb | OK | 10 |
| 10 | 20ms | 8108kb | Incorect | 0 |
| Punctaj total | 60 |