Pagini recente » Borderou de evaluare (job #2615246) | Borderou de evaluare (job #854473) | Borderou de evaluare (job #2480475) | Borderou de evaluare (job #1395170) | Borderou de evaluare (job #1484900)
Borderou de evaluare (job #1484900)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:58:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:59:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); root=new trie;
^
user.cpp:61:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss); s[i]=ss;
^
user.cpp:64:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:66:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); add_intrie(i);
^
/tmp/ccEDcM8R.o: In function `main':
user.cpp:(.text.startup+0xd0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | OK | 10 |
2 | 0ms | 344kb | OK | 10 |
3 | 0ms | 400kb | OK | 10 |
4 | 16ms | 908kb | OK | 10 |
5 | 20ms | 3720kb | OK | 10 |
6 | 16ms | 3772kb | OK | 10 |
7 | 20ms | 3812kb | OK | 10 |
8 | 316ms | 55308kb | OK | 10 |
9 | 372ms | 62808kb | OK | 10 |
10 | 48ms | 5348kb | OK | 10 |
Punctaj total | 100 |