Pagini recente » Borderou de evaluare (job #1702357) | Borderou de evaluare (job #2450215) | Borderou de evaluare (job #2235343) | Borderou de evaluare (job #3041448) | Borderou de evaluare (job #2294778)
Borderou de evaluare (job #2294778)
Raport evaluator
Compilare:
main.cpp: In function 'bool cauta(long long int)':
main.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < hashh[cod].size(); i++)
~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int h(const char*)':
main.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:37:35: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[22]' [-Wformat=]
if (!scanf("%s", &cuvinte[nr_cuv])) {
^
main.cpp:44:37: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[22]' [-Wformat=]
while (scanf("%s", &cuvinte[nr_cuv]) == 1) {
^
main.cpp:32:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
main.cpp:35:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(text, 10000002, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 393kb | OK | 10 | 0 |
2 | 3ms | 393kb | OK | 10 |
3 | 4ms | 524kb | OK | 10 |
4 | 7ms | 655kb | OK | 10 |
5 | 27ms | 1179kb | OK | 10 |
6 | 116ms | 2621kb | OK | 10 |
7 | 518ms | 7340kb | OK | 10 |
8 | 905ms | 12320kb | Time limit exceeded | 0 |
9 | 849ms | 12320kb | OK | 10 |
10 | 847ms | 12320kb | OK | 10 |
Punctaj total | 0 |