Pagini recente » Borderou de evaluare (job #1421305) | Borderou de evaluare (job #2792801) | Borderou de evaluare (job #2932452) | Borderou de evaluare (job #189204) | Borderou de evaluare (job #1484753)
Borderou de evaluare (job #1484753)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54: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:55: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:56:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s); root=new trie;
^
user.cpp:56:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s); root=new trie;
^
user.cpp:58:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); strcat(s+1,ss+1);
^
user.cpp:61:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(s);
^
user.cpp:61:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(s);
^
user.cpp:63:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); add_intrie(i);
^
/tmp/cc4lMU9z.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 380kb | OK | 10 |
2 | 4ms | 332kb | OK | 10 |
3 | 12ms | 388kb | OK | 10 |
4 | 24ms | 892kb | OK | 10 |
5 | 60ms | 3700kb | OK | 10 |
6 | 120ms | 3736kb | OK | 10 |
7 | 200ms | 3756kb | OK | 10 |
8 | Depăşit | 55104kb | Time limit exceeded. | 0 |
9 | Depăşit | 62456kb | Time limit exceeded. | 0 |
10 | 240ms | 5304kb | OK | 10 |
Punctaj total | 80 |