Pagini recente » Borderou de evaluare (job #1681764) | Borderou de evaluare (job #797932) | Borderou de evaluare (job #2730423) | Borderou de evaluare (job #934386) | Borderou de evaluare (job #1483110)
Borderou de evaluare (job #1483110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in","r",stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out","w",stdout);
^
user.cpp:43:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1); root=new trie;
^
/tmp/cc0qsKsO.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 576kb | OK | 10 |
3 | 8ms | 3592kb | OK | 10 |
4 | 8ms | 3656kb | OK | 10 |
5 | 12ms | 3932kb | OK | 10 |
6 | 36ms | 11512kb | OK | 10 |
7 | 64ms | 17356kb | OK | 10 |
8 | 120ms | 30896kb | OK | 10 |
9 | 160ms | 31984kb | OK | 10 |
10 | 304ms | 33236kb | OK | 10 |
Punctaj total | 100 |