Pagini recente » Borderou de evaluare (job #50459) | Borderou de evaluare (job #1416131) | Borderou de evaluare (job #2598101) | Borderou de evaluare (job #224409) | Borderou de evaluare (job #2616719)
Borderou de evaluare (job #2616719)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(Trie*)':
main.cpp:77:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<nod->adj.size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:106:24: warning: unused variable 'kk' [-Wunused-variable]
int n,m,i,cost,j,k,kk,maxx=-1,ii;
^~
main.cpp:104:38: 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:105:40: 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:107:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
main.cpp:109:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp:110:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &cost);
^
main.cpp:141:10: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
j=help[i][j].stare;
~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 3ms | 393kb | OK! | 10 |
4 | 4ms | 655kb | OK! | 10 |
5 | 5ms | 655kb | OK! | 10 |
6 | 10ms | 1310kb | OK! | 10 |
7 | 44ms | 4718kb | OK! | 10 |
8 | 87ms | 8126kb | OK! | 10 |
9 | 43ms | 4063kb | OK! | 10 |
10 | 5ms | 1048kb | OK! | 10 |
Punctaj total | 100 |