Pagini recente » Cod sursa (job #2550294) | Borderou de evaluare (job #1483081)
Borderou de evaluare (job #1483081)
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/cclZZMzI.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 | 280kb | Incorect | 0 |
2 | 0ms | 576kb | Incorect | 0 |
3 | 8ms | 3660kb | Incorect | 0 |
4 | 8ms | 3708kb | Incorect | 0 |
5 | 12ms | 3972kb | Incorect | 0 |
6 | 36ms | 11616kb | Incorect | 0 |
7 | 64ms | 17592kb | Incorect | 0 |
8 | 128ms | 31628kb | Incorect | 0 |
9 | 144ms | 32652kb | Incorect | 0 |
10 | 220ms | 33820kb | Incorect | 0 |
Punctaj total | 0 |