Pagini recente » Borderou de evaluare (job #48062) | Borderou de evaluare (job #2812372) | Borderou de evaluare (job #2160255) | Borderou de evaluare (job #3132564) | Borderou de evaluare (job #2294789)
Borderou de evaluare (job #2294789)
Raport evaluator
Compilare:
main.cpp: In function 'bool cauta(unsigned 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:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:39: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:46: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:64:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'unsigned int' [-Wformat=]
printf("%lld", sol);
^
main.cpp:34: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:35: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:37: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 | 100 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 7ms | 655kb | OK | 10 |
5 | 25ms | 1179kb | OK | 10 |
6 | 98ms | 2359kb | OK | 10 |
7 | 398ms | 6946kb | OK | 10 |
8 | 709ms | 11927kb | OK | 10 |
9 | 711ms | 11927kb | OK | 10 |
10 | 719ms | 11927kb | OK | 10 |
Punctaj total | 100 |