Borderou de evaluare (job #2542060)
Raport evaluator
Compilare:
main.cpp: In function 'void inserare(trie*, char*, int)':
main.cpp:31:12: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s==NULL)
^~~~
main.cpp: In function 'int main()':
main.cpp:99:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.in","r",stdin);
^
main.cpp:100:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.out","w",stdout);
^
main.cpp:103:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:107:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:108:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s[i]+1);
^
main.cpp:109:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Lungimea strigatului gresita! | 4 |
2 | 2ms | 131kb | Lungimea strigatului gresita! | 4 |
3 | 3ms | 393kb | Lungimea strigatului gresita! | 4 |
4 | 6ms | 786kb | Lungimea strigatului gresita! | 4 |
5 | 7ms | 655kb | Lungimea strigatului gresita! | 4 |
6 | 20ms | 1441kb | Lungimea strigatului gresita! | 4 |
7 | 110ms | 5111kb | Lungimea strigatului gresita! | 4 |
8 | 178ms | 8519kb | Lungimea strigatului gresita! | 4 |
9 | 112ms | 4194kb | Lungimea strigatului gresita! | 4 |
10 | 16ms | 1048kb | Lungimea strigatului gresita! | 4 |
Punctaj total | 40 |